-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
42 lines (40 loc) · 1.06 KB
/
.eslintrc.json
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
{
"extends": ["wesbos"],
"plugins": ["angular"],
"globals": {
"angular": true,
"dataLayer": true
},
"rules": {
"angular/controller-as-vm": "error",
"angular/controller-as-route": "error",
"angular/di": ["error", "$inject"],
"angular/di-order": ["off", true, "case_sensitive"],
"angular/di-unused": "off",
"angular/controller-as": "error",
"angular/angularelement": "error",
"angular/empty-controller": "error",
"angular/no-service-method": "error",
"angular/window-service": "error",
"no-use-before-define": "off",
"no-var": "off",
"strict": "off",
"object-shorthand": "off",
"prefer-template": "off",
"prettier/prettier": [
"error",
{
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100
}
]
},
"env": {
"browser": true,
"es6": false
},
"parserOptions": {
"ecmaVersion": 5
}
}