@@ -27,7 +27,6 @@ plugins:
27
27
- " @stylistic/eslint-plugin-js"
28
28
- " @typescript-eslint/eslint-plugin"
29
29
- eslint-plugin-array-func
30
- - eslint-plugin-deprecation
31
30
- eslint-plugin-github
32
31
- eslint-plugin-i
33
32
- eslint-plugin-no-jquery
@@ -224,7 +223,6 @@ rules:
224
223
" @typescript-eslint/await-thenable " : [2]
225
224
" @typescript-eslint/ban-ts-comment " : [2, {'ts-expect-error': false, 'ts-ignore': true, 'ts-nocheck': false, 'ts-check': false}]
226
225
" @typescript-eslint/ban-tslint-comment " : [0]
227
- " @typescript-eslint/ban-types " : [2, {extendDefaults: true, types: {Function: false}}]
228
226
" @typescript-eslint/class-literal-property-style " : [0]
229
227
" @typescript-eslint/class-methods-use-this " : [0]
230
228
" @typescript-eslint/consistent-generic-constructors " : [0]
@@ -249,12 +247,14 @@ rules:
249
247
" @typescript-eslint/no-base-to-string " : [0]
250
248
" @typescript-eslint/no-confusing-non-null-assertion " : [2]
251
249
" @typescript-eslint/no-confusing-void-expression " : [0]
250
+ " @typescript-eslint/no-deprecated " : [2]
252
251
" @typescript-eslint/no-dupe-class-members " : [0]
253
252
" @typescript-eslint/no-duplicate-enum-values " : [2]
254
253
" @typescript-eslint/no-duplicate-type-constituents " : [2, {ignoreUnions: true}]
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}]
@@ -357,7 +359,6 @@ rules:
357
359
default-case-last : [2]
358
360
default-case : [0]
359
361
default-param-last : [0]
360
- deprecation/deprecation : [2]
361
362
dot-notation : [0]
362
363
eqeqeq : [2]
363
364
for-direction : [2]
@@ -568,7 +569,7 @@ rules:
568
569
no-jquery/no-param : [2]
569
570
no-jquery/no-parent : [0]
570
571
no-jquery/no-parents : [2]
571
- no-jquery/no-parse-html-literal : [0 ]
572
+ no-jquery/no-parse-html-literal : [2 ]
572
573
no-jquery/no-parse-html : [2]
573
574
no-jquery/no-parse-json : [2]
574
575
no-jquery/no-parse-xml : [2]
@@ -599,7 +600,7 @@ rules:
599
600
no-lone-blocks : [2]
600
601
no-lonely-if : [0]
601
602
no-loop-func : [0]
602
- no-loss-of-precision : [0] # handled by @typescript-eslint/no-loss-of-precision
603
+ no-loss-of-precision : [2]
603
604
no-magic-numbers : [0]
604
605
no-misleading-character-class : [2]
605
606
no-multi-assign : [0]
@@ -641,7 +642,7 @@ rules:
641
642
no-this-before-super : [2]
642
643
no-throw-literal : [2]
643
644
no-undef-init : [2]
644
- no-undef : [2, {typeof: true}]
645
+ no-undef : [2, {typeof: true}] # TODO: disable this rule after tsc passes
645
646
no-undefined : [0]
646
647
no-underscore-dangle : [0]
647
648
no-unexpected-multiline : [2]
@@ -814,6 +815,7 @@ rules:
814
815
unicorn/catch-error-name : [0]
815
816
unicorn/consistent-destructuring : [2]
816
817
unicorn/consistent-empty-array-spread : [2]
818
+ unicorn/consistent-existence-index-check : [0]
817
819
unicorn/consistent-function-scoping : [2]
818
820
unicorn/custom-error-definition : [0]
819
821
unicorn/empty-brace-spaces : [2]
@@ -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]
@@ -889,10 +892,12 @@ rules:
889
892
unicorn/prefer-dom-node-text-content : [2]
890
893
unicorn/prefer-event-target : [2]
891
894
unicorn/prefer-export-from : [0]
895
+ unicorn/prefer-global-this : [0]
892
896
unicorn/prefer-includes : [2]
893
897
unicorn/prefer-json-parse-buffer : [0]
894
898
unicorn/prefer-keyboard-event-key : [2]
895
899
unicorn/prefer-logical-operator-over-ternary : [2]
900
+ unicorn/prefer-math-min-max : [2]
896
901
unicorn/prefer-math-trunc : [2]
897
902
unicorn/prefer-modern-dom-apis : [0]
898
903
unicorn/prefer-modern-math-apis : [2]
0 commit comments