File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,14 @@ module.exports = {
225
225
'@typescript-eslint/no-require-imports' : 'error' ,
226
226
'@typescript-eslint/no-unnecessary-qualifier' : 'error' ,
227
227
'@typescript-eslint/no-unnecessary-type-assertion' : 'warn' ,
228
- '@typescript-eslint/no-unused-vars' : [ 'warn' , { ignoreRestSiblings : true } ] ,
228
+ '@typescript-eslint/no-unused-vars' : [
229
+ 'warn' ,
230
+ {
231
+ varsIgnorePattern : '.*' , // TS already enforces this
232
+ args : 'after-used' ,
233
+ ignoreRestSiblings : true ,
234
+ } ,
235
+ ] ,
229
236
'@typescript-eslint/no-use-before-define' : [ 'error' , { functions : false } ] ,
230
237
'@typescript-eslint/no-useless-constructor' : 'error' ,
231
238
'@typescript-eslint/no-var-requires' : 'error' ,
@@ -249,6 +256,7 @@ module.exports = {
249
256
'import/namespace' : 'off' ,
250
257
'import/no-deprecated' : 'off' ,
251
258
'react/no-direct-mutation-state' : 'off' ,
259
+ 'react/jsx-no-undef' : 'off' ,
252
260
'no-undef' : 'off' ,
253
261
'no-dupe-class-members' : 'off' ,
254
262
'require-await' : 'off' ,
You can’t perform that action at this time.
0 commit comments