-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
.eslintrc.json
70 lines (70 loc) · 2.11 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"env": {
"browser": true,
"es2020": true,
"commonjs": true,
"es6": true,
"webextensions": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 11,
"requireConfigFile": false,
"ecmaFeatures": {
"impliedStrict": true
},
"sourceType": "module"
},
"plugins": ["promise", "react"],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:promise/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react-hooks/recommended",
"plugin:react/jsx-runtime"
],
"rules": {
"consistent-return": "off",
"promise/always-return": "off",
"semi": "off",
"camelcase": "off",
"lines-between-class-members": "off",
"implicit-arrow-linebreak": "off",
"object-curly-newline": "off",
"prefer-destructuring": "off",
"comma-spacing": "off",
"react-hooks/exhaustive-deps": "error",
"no-multiple-empty-lines": "off",
"indent": "off",
"no-lonely-if": "off",
"no-loop-func": "off",
"space-before-blocks": "off",
"space-infix-ops": "off",
"keyword-spacing": "off",
"no-empty": "off",
"no-trailing-spaces": "off",
"padded-blocks": "off",
"max-len": "off",
"operator-linebreak": "off",
"comma-dangle": "off",
"linebreak-style": "off",
"quotes": "off",
"promise/no-nesting": "off",
"no-unused-vars": "off",
"no-console": "off",
"no-nested-ternary": "off",
"no-unused-expressions": "off",
"import/prefer-default-export": "off",
"promise/catch-or-return": ["error", { "allowFinally": true }],
"no-use-before-define": "off",
"no-debugger": "off",
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-param-reassign": "off",
"import/extensions": "off",
"react/jsx-no-target-blank": "off",
"import/no-unresolved": "off"
}
}