-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 1.06 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["plugin:react/recommended", "airbnb", "airbnb/hooks"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"linebreak-style": "off",
"react/no-unescaped-entities": "off",
"max-len": ["warn", 100],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".tsx"] }],
"import/prefer-default-export": 0,
"no-return-await": "warn",
"arrow-body-style": "warn",
"react/destructuring-assignment": "off",
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"react-hooks/exhaustive-deps": "off",
"react/jsx-no-duplicate-props": [1, { "ignoreCase": false }],
"arrow-parens": ["warn", "as-needed"],
"react/jsx-props-no-spreading": 0,
"react/prop-types": 0,
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"comma-dangle": ["warn", "never"],
"no-confusing-arrow": "off"
}
}