-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
72 lines (72 loc) · 1.93 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
69
70
71
72
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"tsc",
"import",
"unicorn",
"promise",
"eslint-comments",
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"airbnb-typescript/base",
"plugin:promise/recommended",
"plugin:unicorn/recommended",
"plugin:eslint-comments/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [
".ts"
]
},
"import/resolver": {
"typescript": {
"alwaysTryTypes": true
}
}
},
"root": true,
"env": {
"node": true
},
"ignorePatterns": [
"dist/**/*"
],
"rules": {
"max-len": [
"error",
120
],
"import/no-unresolved": "error",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"unicorn/no-null": "off",
"unicorn/no-reduce": "off",
"unicorn/import-style": "off",
"unicorn/prefer-module": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-process-exit": "off",
"unicorn/no-array-for-each": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/explicit-length-check": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/prefer-top-level-await": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
}