-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
83 lines (83 loc) · 2.21 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"env": {
"browser": true,
"node": true
},
"globals": {
"navigator": true,
"$": true,
"_": true,
"angular": true,
"Ignition": true,
"ignition": true,
"$LAB": true,
"s_clven": true,
"s_gi": true,
"s_account": true,
"trackLink": true,
"gigya": true,
"optimizely": true,
"carsJSModule": true,
"jasmine": true,
"describe": true,
"xdescribe": true,
"it": true,
"xit": true,
"expect": true,
"beforeEach": true,
"afterEach": true,
"spyOn": true,
"module": true,
"inject": true
},
"rules": {
"one-var": 2,
"vars-on-top": 2,
"no-mixed-requires": 0,
"wrap-iife": [2, "any"],
"camelcase": 2,
"curly": 1,
"eqeqeq": 0,
"no-extend-native": 1,
"no-native-reassign": 2,
"guard-for-in": 2,
"func-style": [1, "declaration"],
"wrap-iife": 1,
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": 2,
"no-use-before-define": 1,
"no-unused-vars" : 1,
"no-undefined" : 1,
"strict": 0,
"new-cap": 2,
"no-caller": 1,
"no-empty": 0,
"no-new": 0,
"quotes": 0,
"no-trailing-spaces": 1,
"no-comma-dangle": 1,
"no-underscore-dangle": 0,
"no-console": 1,
"no-debugger": 1,
"no-eq-null": 0,
"no-eval": 1,
"space-infix-ops": 1,
"block-scoped-var": 2,
"dot-notation": 1,
"complexity": 0,
"no-iterator": 1,
"no-loop-func": 1,
"no-multi-str": 1,
"no-proto": 1,
"no-script-url": 1,
"no-shadow": 0,
"no-shadow-restricted-names": 1,
"no-dupe-keys": 2,
"eol-last": 0,
"space-after-keywords": [2, "always"],
"brace-style": [1, "1tbs", {
"allowSingleLine": true
}],
"semi": [2, "always"]
}
}