-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
68 lines (68 loc) · 1.63 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"extends": ["airbnb", "plugin:prettier/recommended"],
"env": {
"commonjs": true,
"jest": true,
"node": true
},
"plugins": ["react-hooks"],
"rules": {
"semi": ["error", "never"],
"lines-between-class-members": [
"error",
"always",
{
"exceptAfterSingleLine": true
}
],
"max-len": [
"warn",
{
"code": 80,
"tabWidth": 2,
"comments": 80,
"ignoreComments": false,
"ignoreStrings": true
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}
],
"curly": ["error", "multi-line"],
"no-cond-assign": "off",
"prefer-const": "error",
"no-shadow": "off",
"no-console": ["error", { "allow": ["warn", "error", "info"] }],
"no-use-before-define": "off",
"no-param-reassign": "off",
"no-useless-escape": "off",
"no-restricted-syntax": "off",
"no-else-return": "off",
"prefer-destructuring": "off",
"spaced-comment": "off",
"consistent-return": "off",
"default-case": "off",
"no-return-assign": "off",
"no-continue": "off",
"radix": "off",
"no-loop-func": "off",
"array-callback-return": "off",
"no-throw-literal": "off",
"operator-assignment": "off",
"no-return-await": "off",
"no-underscore-dangle": "off",
"no-lonely-if": "off",
"no-await-in-loop": "off",
"no-nested-ternary": "off",
"guard-for-in": "off",
"class-methods-use-this": "off",
"no-prototype-builtins": 0,
"dot-notation": "off",
"import/prefer-default-export": "off"
}
}