-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
50 lines (50 loc) · 1.31 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
45
46
47
48
49
50
{
"env": {
"browser": true,
"node": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"airbnb",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-no-useless-fragment": "off",
"react/display-name": "off",
"react/prop-types": 0,
"react/function-component-definition": "off",
"react-hooks/exhaustive-deps": "off",
"import/prefer-default-export": "off",
"react/destructuring-assignment": "off",
"react/require-default-props": "off",
"react/button-has-type": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"no-alert": "off",
"no-nested-ternary": "off",
"func-names": "off",
"no-param-reassign": "off",
"consistent-return": "off",
"default-param-last": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/no-unresolved": "off",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
}