-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
46 lines (46 loc) · 947 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"env": {
"browser": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"react",
"import",
"jsx-a11y",
"react-hooks"
],
"rules": {
"react/prop-types": "off",
"no-unused-vars": "warn",
"no-console": "warn",
"func-names": "off",
"linebreak-style": [
"error",
"windows"
],
"object-curly-newline": "warn",
"arrow-parens": "off",
"react/destructuring-assignment": "off",
"max-len": "off",
"no-param-reassign": "warn",
"consistent-return": "warn",
"react/jsx-filename-extension": "off",
"no-plusplus": "off",
"import/no-named-as-default": "warn",
"import/no-named-as-default-member": "warn",
"prefer-destructuring": "warn",
"no-restricted-syntax": "warn",
"jsx-a11y/no-noninteractive-element-to-interactive-role": "warn"
}
}