@@ -3,7 +3,6 @@ import comments from '@eslint-community/eslint-plugin-eslint-comments';
33import github from 'eslint-plugin-github' ;
44import globals from 'globals' ;
55import importPlugin from 'eslint-plugin-import-x' ;
6- import noUseExtendNative from 'eslint-plugin-no-use-extend-native' ;
76import playwright from 'eslint-plugin-playwright' ;
87import regexp from 'eslint-plugin-regexp' ;
98import sonarjs from 'eslint-plugin-sonarjs' ;
@@ -58,7 +57,6 @@ export default defineConfig([
5857 'array-func' : arrayFunc ,
5958 // @ts -expect-error -- https://github.com/un-ts/eslint-plugin-import-x/issues/203
6059 'import-x' : importPlugin ,
61- 'no-use-extend-native' : noUseExtendNative ,
6260 regexp,
6361 sonarjs,
6462 unicorn,
@@ -155,7 +153,7 @@ export default defineConfig([
155153 '@typescript-eslint/ban-tslint-comment' : [ 0 ] ,
156154 '@typescript-eslint/class-literal-property-style' : [ 0 ] ,
157155 '@typescript-eslint/class-methods-use-this' : [ 0 ] ,
158- '@typescript-eslint/consistent-generic-constructors' : [ 0 ] ,
156+ '@typescript-eslint/consistent-generic-constructors' : [ 2 , 'constructor' ] ,
159157 '@typescript-eslint/consistent-indexed-object-style' : [ 0 ] ,
160158 '@typescript-eslint/consistent-return' : [ 0 ] ,
161159 '@typescript-eslint/consistent-type-assertions' : [ 2 , { assertionStyle : 'as' , objectLiteralTypeAssertions : 'allow' } ] ,
@@ -207,7 +205,7 @@ export default defineConfig([
207205 '@typescript-eslint/no-non-null-asserted-optional-chain' : [ 2 ] ,
208206 '@typescript-eslint/no-non-null-assertion' : [ 0 ] ,
209207 '@typescript-eslint/no-redeclare' : [ 0 ] ,
210- '@typescript-eslint/no-redundant-type-constituents' : [ 2 ] ,
208+ '@typescript-eslint/no-redundant-type-constituents' : [ 0 ] , // rule does not properly work without strickNullChecks
211209 '@typescript-eslint/no-require-imports' : [ 2 ] ,
212210 '@typescript-eslint/no-restricted-imports' : [ 0 ] ,
213211 '@typescript-eslint/no-restricted-types' : [ 0 ] ,
@@ -231,6 +229,7 @@ export default defineConfig([
231229 '@typescript-eslint/no-unsafe-return' : [ 0 ] ,
232230 '@typescript-eslint/no-unsafe-unary-minus' : [ 2 ] ,
233231 '@typescript-eslint/no-unused-expressions' : [ 0 ] ,
232+ '@typescript-eslint/no-unused-private-class-members' : [ 2 ] ,
234233 '@typescript-eslint/no-unused-vars' : [ 2 , { vars : 'all' , args : 'all' , caughtErrors : 'all' , ignoreRestSiblings : false , argsIgnorePattern : '^_' , varsIgnorePattern : '^_' , caughtErrorsIgnorePattern : '^_' , destructuredArrayIgnorePattern : '^_' } ] ,
235234 '@typescript-eslint/no-use-before-define' : [ 2 , { functions : false , classes : true , variables : true , allowNamedExports : true , typedefs : false , enums : false , ignoreTypeReferences : true } ] ,
236235 '@typescript-eslint/no-useless-constructor' : [ 0 ] ,
@@ -587,10 +586,9 @@ export default defineConfig([
587586 'no-unsafe-negation' : [ 2 ] ,
588587 'no-unused-expressions' : [ 2 ] ,
589588 'no-unused-labels' : [ 2 ] ,
590- 'no-unused-private-class-members' : [ 2 ] ,
589+ 'no-unused-private-class-members' : [ 0 ] , // handled by @typescript -eslint/no-unused-private-class-members
591590 'no-unused-vars' : [ 0 ] , // handled by @typescript -eslint/no-unused-vars
592591 'no-use-before-define' : [ 0 ] , // handled by @typescript -eslint/no-use-before-define
593- 'no-use-extend-native/no-use-extend-native' : [ 2 ] ,
594592 'no-useless-assignment' : [ 2 ] ,
595593 'no-useless-backreference' : [ 2 ] ,
596594 'no-useless-call' : [ 2 ] ,
0 commit comments