@@ -121,7 +121,6 @@ export async function typescript(
121
121
'@typescript-eslint' : 'ts' ,
122
122
} ) ,
123
123
'no-dupe-class-members' : 'off' ,
124
- 'no-loss-of-precision' : 'off' ,
125
124
'no-redeclare' : 'off' ,
126
125
'no-use-before-define' : 'off' ,
127
126
'no-useless-constructor' : 'off' ,
@@ -146,8 +145,6 @@ export async function typescript(
146
145
'ts/no-extraneous-class' : 'off' ,
147
146
'ts/no-import-type-side-effects' : 'error' ,
148
147
'ts/no-invalid-void-type' : 'off' ,
149
- // this is deprecated
150
- 'ts/no-loss-of-precision' : 'off' ,
151
148
'ts/no-non-null-assertion' : 'off' ,
152
149
'ts/no-redeclare' : 'error' ,
153
150
'ts/no-require-imports' : 'error' ,
@@ -176,30 +173,5 @@ export async function typescript(
176
173
} ,
177
174
]
178
175
: [ ] ) ,
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
- } ,
204
176
]
205
177
}
0 commit comments