-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
65 lines (65 loc) · 1.16 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"rules": {
"max-len": [
2,
120,
4
],
"space-before-function-paren": [
2,
"never"
],
"prefer-template": 2,
"prefer-arrow-callback": 0,
"prefer-rest-params": 1,
"object-shorthand": 0,
"no-param-reassign": 1,
"arrow-body-style": 0,
"prefer-const": 1,
"quotes": 1,
"wrap-iife": [2, "inside"],
"indent": [
2,
2
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"no-magic-numbers": 0,
"func-names": 0,
"angular/no-digest": 0,
"angular/controller-as-vm": 0,
"angular/rest-service": 0,
"angular/foreach": 0,
"angular/no-service-method": 0,
"angular/window-service": 0,
"angular/controller-name": 0,
"comma-dangle": 0,
"strict": 0,
"no-else-return": 0,
"no-undef": 0,
"no-unused-expressions": 0
},
"env": {
"es6": true,
"browser": true,
"jasmine": true,
"protractor": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"extends": [
"airbnb"
],
"parser": "babel-eslint"
}