-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
65 lines (61 loc) · 1.56 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
59
60
61
62
63
64
65
{
"parser": "babel-eslint",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true
},
"env": {
"browser": true,
"node": true
},
"globals": {
"__DEBUG__": false
},
"rules": {
"no-shadow": [0],
"indent": 2,
"curly": [0, "multi-line"],
"strict": [2, "never"],
"comma-dangle": [2, "never"],
"eqeqeq": [2, "smart"],
"no-multi-spaces": [2],
"comma-style": [2, "last"],
"eol-last": [2],
"no-spaced-func": [2],
"space-after-keywords": [2, "always"],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"quotes": [2, "single"],
"strict": [2, "never"],
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2
},
"plugins": [
"react"
]
}