-
Notifications
You must be signed in to change notification settings - Fork 52
/
.eslintrc
44 lines (40 loc) · 930 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
{
"env": {
"es6": true,
"browser": true,
"jasmine": true
},
"rules": {
"block-scoped-var": 2,
"no-eval": 2,
"no-eq-null": 2,
"no-case-declarations": 2,
"no-alert": 1,
"no-multi-spaces": 1,
"no-multi-str": 1,
"no-undef": 0,
"indent": ["error", 4, { "SwitchCase": 1 }],
"no-unused-vars": 1,
"quotes": [2, "single"],
"angular/on-watch": 0,
"strict": "off",
"no-shadow-restricted-names": 2,
"array-bracket-spacing": 1,
"camelcase": [1, {properties: "never"}],
"comma-style": 1,
"comma-spacing": 1
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"globals": {
"require": true,
"angular": true,
"module": true,
"inject": true
}
}