@@ -224,7 +224,6 @@ rules:
224
224
" @typescript-eslint/await-thenable " : [2]
225
225
" @typescript-eslint/ban-ts-comment " : [2, {'ts-expect-error': false, 'ts-ignore': true, 'ts-nocheck': false, 'ts-check': false}]
226
226
" @typescript-eslint/ban-tslint-comment " : [0]
227
- " @typescript-eslint/ban-types " : [2, {extendDefaults: true, types: {Function: false}}]
228
227
" @typescript-eslint/class-literal-property-style " : [0]
229
228
" @typescript-eslint/class-methods-use-this " : [0]
230
229
" @typescript-eslint/consistent-generic-constructors " : [0]
@@ -255,6 +254,7 @@ rules:
255
254
" @typescript-eslint/no-dynamic-delete " : [0]
256
255
" @typescript-eslint/no-empty-function " : [0]
257
256
" @typescript-eslint/no-empty-interface " : [0]
257
+ " @typescript-eslint/no-empty-object-type " : [2]
258
258
" @typescript-eslint/no-explicit-any " : [0]
259
259
" @typescript-eslint/no-extra-non-null-assertion " : [2]
260
260
" @typescript-eslint/no-extraneous-class " : [0]
@@ -266,7 +266,7 @@ rules:
266
266
" @typescript-eslint/no-invalid-this " : [0]
267
267
" @typescript-eslint/no-invalid-void-type " : [0]
268
268
" @typescript-eslint/no-loop-func " : [0]
269
- " @typescript-eslint/no-loss-of-precision " : [2 ]
269
+ " @typescript-eslint/no-loss-of-precision " : [0 ]
270
270
" @typescript-eslint/no-magic-numbers " : [0]
271
271
" @typescript-eslint/no-meaningless-void-operator " : [0]
272
272
" @typescript-eslint/no-misused-new " : [2]
@@ -278,8 +278,9 @@ rules:
278
278
" @typescript-eslint/no-non-null-assertion " : [0]
279
279
" @typescript-eslint/no-redeclare " : [0]
280
280
" @typescript-eslint/no-redundant-type-constituents " : [2]
281
- " @typescript-eslint/no-require-imports " : [0 ]
281
+ " @typescript-eslint/no-require-imports " : [2 ]
282
282
" @typescript-eslint/no-restricted-imports " : [0]
283
+ " @typescript-eslint/no-restricted-types " : [0]
283
284
" @typescript-eslint/no-shadow " : [0]
284
285
" @typescript-eslint/no-this-alias " : [0] # handled by unicorn/no-this-assignment
285
286
" @typescript-eslint/no-unnecessary-boolean-literal-compare " : [0]
@@ -294,6 +295,7 @@ rules:
294
295
" @typescript-eslint/no-unsafe-call " : [0]
295
296
" @typescript-eslint/no-unsafe-declaration-merging " : [2]
296
297
" @typescript-eslint/no-unsafe-enum-comparison " : [2]
298
+ " @typescript-eslint/no-unsafe-function-type " : [2]
297
299
" @typescript-eslint/no-unsafe-member-access " : [0]
298
300
" @typescript-eslint/no-unsafe-return " : [0]
299
301
" @typescript-eslint/no-unsafe-unary-minus " : [2]
@@ -302,7 +304,7 @@ rules:
302
304
" @typescript-eslint/no-use-before-define " : [0]
303
305
" @typescript-eslint/no-useless-constructor " : [0]
304
306
" @typescript-eslint/no-useless-empty-export " : [0]
305
- " @typescript-eslint/no-var-requires " : [2]
307
+ " @typescript-eslint/no-wrapper-object-types " : [2]
306
308
" @typescript-eslint/non-nullable-type-assertion-style " : [0]
307
309
" @typescript-eslint/only-throw-error " : [2]
308
310
" @typescript-eslint/parameter-properties " : [0]
@@ -334,7 +336,7 @@ rules:
334
336
" @typescript-eslint/switch-exhaustiveness-check " : [0]
335
337
" @typescript-eslint/triple-slash-reference " : [2]
336
338
" @typescript-eslint/typedef " : [0]
337
- " @typescript-eslint/unbound-method " : [2]
339
+ " @typescript-eslint/unbound-method " : [0] # too many false-positives
338
340
" @typescript-eslint/unified-signatures " : [2]
339
341
accessor-pairs : [2]
340
342
array-callback-return : [2, {checkForEach: true}]
@@ -599,7 +601,7 @@ rules:
599
601
no-lone-blocks : [2]
600
602
no-lonely-if : [0]
601
603
no-loop-func : [0]
602
- no-loss-of-precision : [0] # handled by @typescript-eslint/no-loss-of-precision
604
+ no-loss-of-precision : [2]
603
605
no-magic-numbers : [0]
604
606
no-misleading-character-class : [2]
605
607
no-multi-assign : [0]
@@ -843,6 +845,7 @@ rules:
843
845
unicorn/no-invalid-fetch-options : [2]
844
846
unicorn/no-invalid-remove-event-listener : [2]
845
847
unicorn/no-keyword-prefix : [0]
848
+ unicorn/no-length-as-slice-end : [2]
846
849
unicorn/no-lonely-if : [2]
847
850
unicorn/no-magic-array-flat-depth : [0]
848
851
unicorn/no-negated-condition : [0]
0 commit comments