-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 919 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"strict": 0,
"quotes":
[2, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"jsx-quotes": [2, "prefer-single"],
"indent": ["error", 4],
"react/state-in-constructor": 0,
"react/jsx-indent" : ["error", 4],
"react/jsx-indent-props" : ["error", 4],
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/no-extraneous-dependencies": 0,
"react/no-danger": "off"
}
}