-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
43 lines (43 loc) · 891 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
{
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2020,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"comma-dangle": 2,
"eqeqeq": 2,
"guard-for-in": 2,
"new-cap": 0,
"no-caller": 2,
"no-console": 2,
"no-extend-native": 2,
"no-irregular-whitespace": 2,
"no-loop-func": 2,
"no-multi-spaces": 2,
"no-multiple-empty-lines": [2, {"max": 1}],
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 2,
"no-var": 2,
"one-var": [2, "never"],
"quotes": [2, "single"],
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"semi": 2,
"space-before-function-paren": 2,
"spaced-comment": 2,
"strict": [2, "global"],
"wrap-iife": 2
}
}