@@ -121,7 +121,6 @@ export async function typescript(
121121 '@typescript-eslint' : 'ts' ,
122122 } ) ,
123123 'no-dupe-class-members' : 'off' ,
124- 'no-loss-of-precision' : 'off' ,
125124 'no-redeclare' : 'off' ,
126125 'no-use-before-define' : 'off' ,
127126 'no-useless-constructor' : 'off' ,
@@ -146,8 +145,6 @@ export async function typescript(
146145 'ts/no-extraneous-class' : 'off' ,
147146 'ts/no-import-type-side-effects' : 'error' ,
148147 'ts/no-invalid-void-type' : 'off' ,
149- // this is deprecated
150- 'ts/no-loss-of-precision' : 'off' ,
151148 'ts/no-non-null-assertion' : 'off' ,
152149 'ts/no-redeclare' : 'error' ,
153150 'ts/no-require-imports' : 'error' ,
@@ -176,30 +173,5 @@ export async function typescript(
176173 } ,
177174 ]
178175 : [ ] ) ,
179- {
180- files : [ GLOB_DTS ] ,
181- name : 'coderwyd/typescript/disables/dts' ,
182- rules : {
183- 'eslint-comments/no-unlimited-disable' : 'off' ,
184- 'import/no-duplicates' : 'off' ,
185- 'no-restricted-syntax' : 'off' ,
186- 'unused-imports/no-unused-vars' : 'off' ,
187- } ,
188- } ,
189- {
190- files : [ '**/*.{test,spec}.ts?(x)' ] ,
191- name : 'coderwyd/typescript/disables/test' ,
192- rules : {
193- 'no-unused-expressions' : 'off' ,
194- } ,
195- } ,
196- {
197- files : [ '**/*.js' , '**/*.cjs' ] ,
198- name : 'coderwyd/typescript/disables/cjs' ,
199- rules : {
200- 'ts/no-require-imports' : 'off' ,
201- 'ts/no-var-requires' : 'off' ,
202- } ,
203- } ,
204176 ]
205177}
0 commit comments