-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
56 lines (56 loc) · 1.66 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
47
48
49
50
51
52
53
54
55
56
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"plugin:prettier/recommended",
"airbnb"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"prettier"
],
"rules": {
// "no-console": "off",
"react/prop-types": 0,
"react/jsx-props-no-spreading": 0,
"react/function-component-definition": 0,
"prettier/prettier": ["error", { "singleQuote": true }],
"quotes": ["error", "single", { "avoidEscape": true }],
"react/no-unescaped-entities": 0,
"object-curly-newline": 0,
"operator-linebreak": 0,
"indent": [0, 2],
"eqeqeq": "error",
"import/no-named-as-default-member": "off",
"import/order": "error",
"no-constructor-return": "error",
"no-lonely-if": "error",
"no-promise-executor-return": "error",
"no-self-compare": "error",
"no-template-curly-in-string": "error",
"no-unmodified-loop-condition": "error",
"no-unreachable-loop": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-var": "error",
"object-shorthand": "error",
"require-atomic-updates": "error",
"yoda": "error",
"react/jsx-one-expression-per-line": 0,
"react/no-unstable-nested-components": 0,
"react/jsx-wrap-multilines": 0,
"implicit-arrow-linebreak": 0,
"comma-dangle": 0,
"function-paren-newline": 0
}
}