forked from x3dom/x3dom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 1.32 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"parserOptions": {
"ecmaVersion": 5
},
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"no-tabs": ["error"],
"array-bracket-spacing" : ["error", "always"],
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
"space-in-parens": ["error", "always", { "exceptions": [] }],
"computed-property-spacing": ["error", "always"],
"brace-style" : ["error", "allman", { "allowSingleLine": true }],
"no-trailing-spaces": "error",
"padded-blocks": ["error", "never"],
"prefer-const": "error",
"space-before-function-paren": "error",
"keyword-spacing": "error",
"space-infix-ops": "error",
"semi": "error",
"curly": "error",
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"one-var-declaration-per-line": ["error", "always"],
"no-multiple-empty-lines": ["error", { "max": 1 } ],
"new-parens": "error",
"lines-between-class-members": ["error", "always"],
"key-spacing": ["error", {
"multiLine": { "beforeColon": true, "afterColon": true },
"align": { "beforeColon": true, "afterColon": true, "on": "colon" }
}],
"func-call-spacing": ["error", "never"]
}
}