-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
43 lines (43 loc) · 1.01 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb",
"prettier",
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:import/errors",
"plugin:jsx-a11y/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "import", "jsx-a11y", "react-hooks"],
"overrides": [
{
"files": ["*.jsx", "*.js"]
}
],
"rules": {
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"global-require": 0,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/prefer-default-export": 0,
"react/function-component-definition": 0,
"react/jsx-props-no-spreading": 0,
"jsx-a11y/click-events-have-key-events": 0,
"react/no-array-index-key": 0,
"consistent-return": 0,
"no-unused-vars": 1
}
}