-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (50 loc) · 1.19 KB
/
.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
42
43
44
45
46
47
48
49
50
{
"parser": "babel-eslint",
"extends": [
"plugin:compat/recommended",
"standard",
"standard-react"
],
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2020,
"ecmaFeatures": {
"legacyDecorators": true,
"jsx": true
}
},
"settings": {
"react": {
"version": "16"
},
"polyfills": [ "Array", "Promise", "fetch" ]
},
"rules": {
"array-bracket-spacing": 0,
"curly": 0,
"eol-last": ["error", "never"],
"import/export": 0,
"keyword-spacing": [2, {"overrides": {
"if": {"after": false},
"for": {"after": false},
"while": {"after": false},
"switch": {"after": false}
}}],
"no-multiple-empty-lines": ["error", { "max": 2 }],
"no-return-assign": 0,
"no-unused-expressions": 0,
"no-trailing-spaces": "error",
"no-useless-computed-key": 0,
"padded-blocks": 0,
"react/jsx-curly-spacing": [2, { "when": "always" }],
"react/jsx-fragments": 0,
"react/jsx-handler-names": 0,
"react/no-unused-prop-types": 0,
"react/prop-types": 0,
"semi": ["error", "always", { "omitLastInOneLineBlock": true }],
"space-before-function-paren": 0
}
}