-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.14 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
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"extends": "eslint:recommended",
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"angular": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes ": true,
"defaultParams": true,
"forOf": true,
"modules": true,
"templateStrings": true
},
"rules": {
"array-bracket-spacing": [2, "never"],
"brace-style": [2, "stroustrup"],
"camelcase": [1],
"comma-dangle": [2, "never"],
"comma-spacing": [2, {"before": false, "after": true}],
"computed-property-spacing": [2, "never"],
"consistent-this": [2, "self"],
"curly": [2, "multi-line"],
"eqeqeq": [2],
"max-nested-callbacks": [2, 4],
"no-alert": [1],
"no-console": [2],
"no-debugger": [2],
"no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
"no-use-before-define": [2, "nofunc"],
"object-curly-spacing": [2, "never"],
"one-var": [2, "never"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "always"],
"space-in-parens": [2, "never"],
"spaced-comment": [2, "always"],
"strict": [2, "never"]
}
}