forked from taskforcesh/bullmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
66 lines (65 loc) · 1.61 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
{
"parser": "@typescript-eslint/parser",
"env": { "es6": true, "node": true, "mocha": true },
"globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" },
"plugins": [
"eslint-plugin-tsdoc",
"promise",
"prettier",
"mocha",
"@typescript-eslint/eslint-plugin"
],
"extends": [
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-empty-interface": [
"error",
{
"allowSingleExtends": false
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": true,
"types": {
"object": false,
"Object": false,
"Function": false
}
}
],
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-empty-function": 1,
"@typescript-eslint/no-this-alias": 0,
"mocha/no-exclusive-tests": "error",
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"arrow-parens": [2, "as-needed", { "requireForBlockBody": false }],
"curly": "error",
"no-async-promise-executor": 0,
"no-extraneous-class": 0,
"@typescript-eslint/no-inferrable-types": 2,
"semi": 2,
"no-bitwise": 0,
"eol-last": 2,
"prefer-const": 1,
"forin": 0,
"max-len": [
"error",
{ "code": 120, "ignorePattern": "^import\\s.+\\sfrom\\s.+;$" }
],
"tsdoc/syntax": "warn"
}
}