-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
58 lines (54 loc) · 1.17 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
{
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"modules": true,
"objectLiteralComputedProperties": true,
"spread": true,
"globalReturn": true
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jasmine": true
},
"rules": {
// Disabled
"global-strict": 0,
"no-underscore-dangle": 0,
"no-catch-shadow": 0,
"no-reserved-keys": 0,
"no-new": 0,
"no-multi-spaces": [1, {
"exceptions": {
"VariableDeclarator": true,
"AssignmentExpression": true
}
}],
// Disabled because does not work well
// with JSX multiline templates
"no-extra-parens": 0,
"no-trailing-spaces": 1,
"key-spacing": 1,
"no-eq-null": 1,
"no-self-compare": 1,
"no-throw-literal": 1,
"wrap-iife": 1,
"brace-style": 1,
"no-lonely-if": 1,
"eol-last": 1,
"quotes": [1, "single"],
"no-unused-vars": 1,
"space-infix-ops": 1,
"semi": 1,
// Error Level
"no-console": 2,
"no-debugger": 2,
//"indent": [2, 2, {"SwitchCase": 1}]
}
}