-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
39 lines (39 loc) · 975 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
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"rules": {
"comma-dangle": 2,
"comma-spacing": 2,
"eol-last": 2,
"indent": ["error", 2],
"keyword-spacing": 2,
"linebreak-style": 2,
"no-console": 2,
"no-unused-vars": [2, {"args": "none", "varsIgnorePattern": "React"}],
"no-extra-semi": 2,
"no-trailing-spaces": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"semi": ["error", "never"],
"jsx-quotes": 2,
"react/jsx-boolean-value": [2, "never"],
"react/jsx-equals-spacing": [2, "never"],
"react/jsx-closing-bracket-location": 2,
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-indent-props": 2,
"react/jsx-key": 2,
"react/jsx-space-before-closing": 2,
"react/no-unknown-property": 0,
"react/prop-types": 2,
"react/jsx-wrap-multilines": 2
},
"env": {
"node": true
},
"plugins": [
"react"
]
}