-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (47 loc) · 1.41 KB
/
.eslintrc
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
47
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"brace-style": [2, "1tbs"],
"camelcase": 0,
"no-bitwise": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-lonely-if": 2,
"no-mixed-spaces-and-tabs": 2,
"no-tabs": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 0,
"quote-props": [2, "as-needed"],
"quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"strict": 0,
"semi": ["error", "never"], // require or disallow use of semicolons instead of ASI,
"arrow-parens": ["error", "as-needed"], // require the use of parenthesis when needed
"prefer-destructuring": ["error", { "array": true, "object": true }, { "enforceForRenamedProperties": true }],
"eqeqeq": ["error", "smart"],
"prefer-template": "error",
"react/jsx-filename-extension": 0,
"react/prop-types": 0,
"no-plusplus": 0,
"max-len": 0,
"react/jsx-props-no-spreading": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/img-redundant-alt": 0
}
}