forked from spinnaker/deck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (54 loc) · 1.27 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
47
48
49
50
51
52
53
54
{
"ecmaFeatures": {
"jsx": false,
"modules": true,
},
"extends": "eslint:recommended",
"rules": {
"eol-last": 1,
"semi": 2,
"quotes": [1, "single", { "allowTemplateLiterals": true, "avoidEscape": true }],
"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": 0, // ANG, shutting this off for now....it's a bit chatty
"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,
"no-control-regex": 0,
"no-case-declarations": 0,
"no-empty-pattern": 0
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jasmine": true,
},
"globals": {
"angular": true,
"$": true,
"_": true,
}
}