/
.eslintrc
55 lines (55 loc) · 1.32 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"jsx": true
},
"rules": {
"no-multi-spaces": 0,
"space-infix-ops": 0,
"quotes": [
2, "double", "avoid-escape" // http://eslint.org/docs/rules/quotes
],
"func-names": 0,
"vars-on-top": 0,
"strict": 0,
"no-unused-expressions": 0,
"consistent-return": 0,
"one-var": 0,
"new-cap": 0,
"no-else-return": 0,
"semi-spacing": 0,
"no-nested-ternary": 0,
"no-shadow": 0,
"no-param-reassign": 0,
"no-extend-native": 0,
"no-empty": 0,
"guard-for-in": 0,
"comma-dangle": 0,
"space-before-function-paren": 0,
"arrow-spacing": [2, { "before": false, "after": true }],
"prefer-template": 0,
"prefer-arrow-callback": 0,
"arrow-body-style": 0,
"object-shorthand": 0
}
}