-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
47 lines (46 loc) · 1 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
{
"env": {
"browser": true,
"node": true,
"mocha": true
},
"globals": {
"angular": true,
"ionic": true,
"moment": true,
"R": true,
"inject": true,
"Q": true,
"sinon": true,
"getService": true,
"expect": true,
"xit": true,
"chai": true
},
"rules": {
"one-var": [2, "never"],
"camelcase": 0,
"curly": 2,
"brace-style": [2, "1tbs"],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-in-brackets": [2, "never"],
"space-infix-ops": 2,
"space-after-keywords": [2, "always"],
"dot-notation": 2,
"eqeqeq": [2, "smart"],
"no-redeclare": 2,
"no-inner-declarations": "both",
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"no-floating-decimal": 2,
"no-spaced-func": 2,
"no-extra-parens": 0,
"no-underscore-dangle": 0,
"valid-jsdoc": 0,
"max-len": [2, 180],
"no-use-before-define": [2, "nofunc"],
"no-warning-comments": 0,
"strict": 2,
"eol-last": 0
}
}