forked from spinnaker/deck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 1005 Bytes
/
.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
{
"ecmaFeatures": {
"jsx": false,
},
"extends": "eslint:recommended",
"rules": {
"eol-last": 1,
"semi": 2,
"quotes": [1, "single"],
"comma-dangle": 0,
"no-extra-boolean-cast": 1,
"no-unused-vars": 1,
"no-debugger": 1,
"no-loop-func": 1,
"space-infix-ops": 1,
"no-multi-spaces": 1,
"key-spacing": 0, // TODO
"no-spaced-func": 0,
"no-alert": 1,
"no-use-before-define": 0, // TODO
"no-underscore-dangle": 1,
"no-shadow": 0, // TODO
"no-unexpected-multiline": 1,
"consistent-return": 1,
"no-extend-native": 1,
"space-before-blocks": 1,
"semi-spacing": 1,
"no-array-constructor": 1,
"no-negated-condition": 0, // TODO
"no-trailing-spaces": 1,
"operator-assignment": [1, "always"],
"no-const-assign": 1,
"no-console": 1,
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jasmine": true,
},
"globals": {
"angular": true,
"$": true,
"_": true,
}
}