-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
34 lines (34 loc) · 988 Bytes
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "react-app"],
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"no-unused-vars": 0,
"no-console": "off",
"object-curly-spacing": [1, "always"],
"indent": [ "warn", 2 ],
"linebreak-style": [ "error", "unix" ],
"quotes": [ "warn", "single" ],
"semi": [ 0 ],
"react/no-unescaped-entities": "off",
"react/no-typos": "off",
"react/jsx-indent": [1, 2],
"jsx-quotes": [1, "prefer-single"],
"react/jsx-indent-props": [1, 2],
"react/self-closing-comp": ["warn", { "component": true, "html": true }],
"react/jsx-closing-bracket-location": [1, "after-props"],
"react/jsx-curly-spacing": 0
}
}