-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
48 lines (48 loc) · 1.12 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
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"settings": {
"ecmascript": 6
},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"forOf": true,
"generators": true,
"globalReturn": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true
},
"env": {
"browser": 1,
"es6": 1,
},
"rules": {
"comma-dangle": [1, "always-multiline"],
"indent": [2, 2, {"SwitchCase": 1}],
"no-catch-shadow": 0,
"no-const-assign": 2,
"no-empty": 0,
"no-multi-spaces": 1,
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-var": 2,
"no-wrap-func": 0,
"prefer-const": 2,
"quotes": [1, "single"],
"strict": 0
}
}