-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc.json
37 lines (37 loc) · 828 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
35
36
37
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
},
"parser": "babel-eslint",
"plugins": ["react", "prettier"],
"extends": [
"eslint:recommended",
"standard",
"plugin:react/recommended",
"prettier"
],
"rules": {
"eqeqeq": [2, "always"],
"indent": [2, 4, { "SwitchCase": 1 }],
"jsx-quotes": [2, "prefer-double"],
"no-console": [
"error",
{ "allow": ["log", "warn", "error", "group", "groupEnd"] }
],
"no-debugger": 2,
"no-extend-native": 0,
"no-var": 1,
"prettier/prettier": "error",
"quotes": [2, "single", { "avoidEscape": true }],
"react/prop-types": 1,
"react/no-find-dom-node": 0,
"semi": [2, "always"]
}
}