-
Notifications
You must be signed in to change notification settings - Fork 56
/
.eslintrc.json
44 lines (44 loc) · 1.02 KB
/
.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
44
// .eslintrc.json
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "airbnb"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"arrow-body-style": "off",
"semi": ["error", "always"],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"import/extensions": [
1,
{
"js": "always",
"json": "always"
}
],
"eslint-disable-next-line react/no-array-index-key": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"no-multi-spaces": "off",
"jsx-a11y/control-has-associated-label": "off",
"no-trailing-spaces": "off",
"react/jsx-indent": "off",
"react/jsx-props-no-multi-spaces": "off",
"react/jsx-closing-tag-location": "off",
"quotes": "off",
"react/jsx-one-expression-per-line": "off"
}
}