-
Notifications
You must be signed in to change notification settings - Fork 113
/
.eslintrc
44 lines (44 loc) · 897 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
{
"parser": "babel-eslint",
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
// "indent": [ 2, 2 ],
"quotes": [ 1, "single", "avoid-escape" ],
"linebreak-style": [ 2, "unix" ],
"semi": [ 2, "always" ],
"prefer-const": 2,
//# angular
"angular/definedundefined" : 0,
"angular/json-functions" : 0 ,
"angular/document-service" : 0,
"angular/timeout-service" : 0,
"angular/log" : 0,
"angular/window-service" : 0,
"angular/typecheck-array": 0,
// # custom:
"no-global-assign": 0,
"no-unsafe-negation": 0
},
"env": {
"es6": true,
"browser": true,
"node" : true
},
"globals": {
"angular": false,
"_" : true
},
"extends": [
"eslint:recommended",
"angular"
],
"plugins": [
"angular"
]
}