-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
56 lines (56 loc) · 1.26 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
{
"extends": [
"airbnb-base",
"plugin:import/recommended",
"plugin:import/stage-0",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
"env": {
"node": true,
"jest": true
},
"plugins": [
"import",
"jest",
"json",
"node",
"promise",
"standard",
"unicorn"
],
"rules": {
"no-await-in-loop": "off",
"no-plusplus": "off",
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"no-underscore-dangle": "off",
"class-methods-use-this": "off",
"global-require": "off",
"object-curly-spacing": [
"error",
"always"
],
"object-shorthand": ["error", "always", { "ignoreConstructors": true }],
"import/prefer-default-export": "off",
"mport/no-extraneous-dependencies": "off",
"promise/always-return": "off",
"promise/no-return-wrap": "error",
"promise/param-names": "error",
"promise/catch-or-return": "error",
"promise/no-callback-in-promise": "error",
"unicorn/filename-case": [
"error",
{
"case": "kebabCase"
}
],
"unicorn/no-abusive-eslint-disable": "error",
"unicorn/no-process-exit": "error",
"unicorn/no-new-buffer": "error"
}
}