-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
46 lines (46 loc) ยท 1.29 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": ["airbnb"],
"plugins": ["import", "react-hooks"],
"rules": {
"react/prop-types": 0,
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/anchor-is-valid": "off",
"no-console": "off",
"no-underscore-dangle": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": "off",
"react/jsx-one-expression-per-line": "off",
"object-curly-newline": "off",
"linebreak-style": "off",
"no-param-reassign": "off",
"eslint-disable max-len": "off",
"eslint-disable react/jsx-wrap-multilines": "off",
"no-use-before-define": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export": "off",
"no-unused-vars": "off",
"no-template-curly-in-string": "off",
"arrow-parens": "off",
"implicit-arrow-linebreak": "off",
"consistent-return": "off",
"arrow-body-style": "off",
"indent": "off",
"no-alert": "off",
"no-nested-ternary": "off"
}
}