-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc.json
94 lines (94 loc) · 2.75 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"globals": {
"googletag": true,
"navigator": true,
"$": true,
"_": true,
"browser": true,
"element": true,
"by": true,
"angular": true,
"sinon": true,
"ConfigBootstrapper": true,
"configBootstrapper": true,
"Ignition": true,
"ignition": true,
"$LAB": true,
"s_clven": true,
"s_gi": true,
"s_account": true,
"trackLink": true,
"gigya": true,
"optimizely": true,
"module": true,
"inject": true,
"STATIC_REPLACEMENT_STRING": true
},
"extends": "eslint:recommended",
"rules": {
"no-mixed-requires": 0,
"wrap-iife": [2, "any"],
"camelcase": 2,
"curly": 0,
"eqeqeq": 0,
"no-extend-native": 1,
"no-native-reassign": 2,
"guard-for-in": 2,
"func-style": [1, "declaration"],
"no-lonely-if": 0,
"no-mixed-spaces-and-tabs": 2,
"no-use-before-define": 0,
"no-unused-vars" : 0,
"no-undefined" : 0,
"no-undef" : 1,
"strict": 0,
"new-cap": 2,
"no-caller": 1,
"no-empty": 0,
"no-new": 0,
"quotes": 0,
"no-trailing-spaces": 1,
"comma-dangle": 0,
"no-underscore-dangle": 0,
"no-console": 0,
"no-debugger": 1,
"no-eq-null": 0,
"no-eval": 1,
"space-infix-ops": 1,
"block-scoped-var": 1,
"dot-notation": 0,
"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,
"key-spacing": 0,
"keyword-spacing": 1,
"brace-style": [1, "1tbs", {
"allowSingleLine": true
}],
"semi": [2, "always"],
"no-process-exit": 0,
"no-unused-expressions": 0,
"no-case-declarations": 2,
"no-extra-semi": 1,
"no-unsafe-finally": 2,
"require-yield": 2,
"no-inner-declarations": 0
}
}