-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 1.1 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
{
"env": {
"browser": true,
"node": true,
"es2021": true
},
"parser": "@babel/eslint-parser",
"rules": {
"linebreak-style": 0,
"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
"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
},
"parserOptions": {
"ecmaVersion": 2017,
"requireConfigFile": false,
"sourceType": "module"
}
}