-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
30 lines (30 loc) · 903 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["plugin:react/recommended", "airbnb", "prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"comma-dangle": 0,
"react/jsx-filename-extension": 0,
"react/function-component-definition": 0,
"react-hooks/exhaustive-deps": 0,
"arrow-parens": 0,
"max-len": ["error", { "code": 150, "comments": 150 }],
"class-methods-use-this": 0,
"react/prop-types": 0,
"jsx-a11y/click-events-have-key-events": 0,
"no-noninteractive-element-interactions": 0,
"no-underscore-dangle": ["error", { "allow": ["_hex", "_id"] }],
"jsx-a11y/label-has-associated-control": 0,
"react/jsx-props-no-spreading": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 0
}
}