Skip to content

Commit 5278de7

Browse files
wip
1 parent 6f0929e commit 5278de7

36 files changed

+419
-2619
lines changed

.eslintrc.json

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
},
77
"plugins": [
88
"simple-import-sort",
9-
"import",
109
"@typescript-eslint",
1110
"prettier",
1211
"unused-imports",
1312
"tsdoc",
14-
"mocha",
15-
"github"
13+
"mocha"
1614
],
1715
"extends": [
1816
"eslint:recommended",
@@ -67,15 +65,17 @@
6765
],
6866
"simple-import-sort/imports": "error",
6967
"simple-import-sort/exports": "error",
70-
"import/first": "error",
71-
"import/newline-after-import": "error",
72-
"import/no-duplicates": "error",
7368
"strict": [
7469
"error",
7570
"global"
7671
],
7772
"@typescript-eslint/no-explicit-any": "off",
73+
"@typescript-eslint/no-non-null-assertion": "error",
74+
"@typescript-eslint/no-redundant-type-constituents": "off",
75+
"@typescript-eslint/no-empty-function": "error",
76+
"@typescript-eslint/no-require-imports": "off",
7877
"@typescript-eslint/require-await": "off",
78+
"@typescript-eslint/no-unused-expressions": "off",
7979
"@typescript-eslint/consistent-type-imports": [
8080
"error",
8181
{
@@ -121,12 +121,7 @@
121121
"message": "Do not strictly check typeof undefined (NOTE: currently this rule only detects the usage of 'undefined' string literal so this could be a misfire)"
122122
}
123123
],
124-
"@typescript-eslint/no-unused-vars": [
125-
"error",
126-
{
127-
"argsIgnorePattern": "^_"
128-
}
129-
]
124+
"@typescript-eslint/no-unused-vars": "error"
130125
},
131126
"overrides": [
132127
{
@@ -200,6 +195,15 @@
200195
"no-restricted-syntax": "off",
201196
"typescript-eslint/ban-ts-comment": "off",
202197
"no-restricted-imports": "off",
198+
"@typescript-eslint/no-unused-vars": [
199+
"error",
200+
{
201+
"argsIgnorePattern": "^_",
202+
"caughtErrorsIgnorePattern": "^_",
203+
"destructuredArrayIgnorePattern": "^_",
204+
"varsIgnorePattern": "^_"
205+
}
206+
],
203207
"@typescript-eslint/no-restricted-imports": [
204208
"error",
205209
{
@@ -235,12 +239,23 @@
235239
"@typescript-eslint/restrict-plus-operands": "off",
236240
"@typescript-eslint/restrict-template-expressions": "off",
237241
"@typescript-eslint/require-await": "off",
242+
"@typescript-eslint/no-redundant-type-constituents": "off",
243+
"@typescript-eslint/no-unused-expressions": "off",
244+
"@typescript-eslint/no-explicit-any": "off",
238245
"no-return-await": "off",
239246
"@typescript-eslint/return-await": [
240247
"error",
241248
"always"
242249
],
243-
"github/no-then": "error",
250+
"@typescript-eslint/no-unused-vars": [
251+
"error",
252+
{
253+
"argsIgnorePattern": "^_",
254+
"caughtErrorsIgnorePattern": "^_",
255+
"destructuredArrayIgnorePattern": "^_",
256+
"varsIgnorePattern": "^_"
257+
}
258+
],
244259
"no-restricted-imports": [
245260
"error",
246261
{
@@ -263,7 +278,7 @@
263278
"tsdoc/syntax": "warn",
264279
"no-console": "off",
265280
"@typescript-eslint/no-explicit-any": "off",
266-
"@typescript-eslint/no-unused-vars": "error",
281+
"@typescript-eslint/no-unused-vars": "off",
267282
"@typescript-eslint/ban-ts-comment": "off",
268283
"@typescript-eslint/no-empty-function": "off"
269284
}

0 commit comments

Comments
 (0)