-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
42 lines (42 loc) · 1.16 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
{
"rules": {
"indent": [2, 4, { "SwitchCase": 1 }],
"quotes": [2, "single"],
"semi": [2, "always"],
"block-scoped-var": 2,
"consistent-return": 1,
"curly": 2,
"eqeqeq": 2,
"no-extra-bind": 2,
"strict": [2, "global"],
"no-catch-shadow": 2,
"array-bracket-spacing": [2, "never"],
"block-spacing": [2, "always"],
"brace-style": 2,
"camelcase": [2, {"properties": "always"}],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"consistent-this": [2, "self"],
"key-spacing": 2,
"new-parens": 2,
"no-multiple-empty-lines": 2,
"no-spaced-func": 2,
"no-underscore-dangle": 2,
"no-unneeded-ternary": 2,
"quote-props": [2, "as-needed"],
"no-console": 0
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"angular": true,
"_": true,
"Mousetrap": true,
"tinycolor": true
},
"extends": "eslint:recommended"
}