-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
41 lines (36 loc) · 808 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
39
40
41
{
"parser": "babel-eslint",
"rules": {
"arrow-parens": [2, "as-needed"],
"arrow-spacing": 2,
"comma-dangle": [2, "always-multiline"],
"dot-notation": 2,
"eqeqeq": 2,
"indent": [2, 2],
"linebreak-style": [2, "unix"],
"no-unused-vars": [2, {"varsIgnorePattern": "^React$"}],
"no-var": 2,
"object-shorthand": [2, "methods"],
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-spread": 2,
"prefer-template": 2,
"quotes": [1, "double", "avoid-escape"],
"semi": [2, "always"],
"strict": 0,
},
"env": {
"es6": true,
"browser": true,
"node": true,
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
"plugins": [
"import",
"react",
]
}