-
Notifications
You must be signed in to change notification settings - Fork 19
/
.eslintrc.json
43 lines (43 loc) · 969 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
38
39
40
41
42
43
{
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"rules": {
"eol-last": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"array-bracket-spacing": ["error", "always"],
"space-before-function-paren": ["error", "always"],
"comma-dangle": ["error", "never"],
"semi": ["error", "always"],
"quotes": ["error", "single"],
"no-case-declarations": "off",
"react/prop-types": "off",
"no-unused-vars": "off",
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }],
"no-trailing-spaces": "error"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 11,
"sourceType": "module"
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
}
}