-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
47 lines (45 loc) · 972 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
45
46
47
{
"parser": "babel-eslint",
"plugins": [
],
"rules":{
"eqeqeq": 0,
"no-unused-vars": [2, {"vars": "all", "args":"none"}],
"indent": [
2,
4
],
"quotes": 0,
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"strict": 0, //[2, "never"],
//"dot-notation": [2, {"allowKeywords": false}],
// allow one line ifs
"curly": 0,
// newline at file end is optional
"eol-last": 0,
// allow alerts
"no-alert": 0,
// new-cap does not recognize decorators as new
"new-cap": 0,
"no-labels": 0,
},
"globals": {
"Directive": true,
"Route": true,
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"ecmafeatures": {
"modules": true
}
}