-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
50 lines (49 loc) · 1.11 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
{
"parser": "babel-eslint",
"env": {
"node": true,
"browser": true,
"jasmine": true,
"jquery": true
},
"plugins": [
"react"
],
"rules": {
"camelcase": [1, {"properties": "never"}],
"comma-dangle": [1, "never"],
"curly": [2, "multi-line"],
"key-spacing": [1, {"align": "value"}],
"no-multi-spaces": 1,
"no-process-exit": 1,
"no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
"quotes": [1, "single", "avoid-escape"],
"strict": 0,
"react/jsx-uses-vars": 1
},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"jsx": true
},
"globals": {
"_": true,
"angular": true,
"ko": true
}
}