-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
38 lines (38 loc) · 979 Bytes
/
.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
{
"ecmaFeatures": {
"jsx": true,
"modules": true,
"blockBindings": true,
"defaultParams": true,
"forOf": true,
"generators": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"templateStrings": true
},
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"quotes": [2, "single"],
"strict": [2, "never"],
"semi": [2, "never"],
"brace-style": [2, "1tbs", {
"allowSingleLine": true
}],
"comma-dangle": [2, "never"],
"no-dupe-keys": 2,
"no-ex-assign": 2,
"no-extra-semi": 2,
"valid-typeof": 2,
"generator-star-spacing": [2, {"before": false, "after": true}],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2
},
"plugins": ["react"]
}