🚨(eslint) add missing rules
We recently upgraded to Eslint v9, it seems that it is missing some rules that we had previously. We add them back: - @typescript-eslint/no-inferrable-types - @typescript-eslint/no-floating-promises
This commit is contained in:
@@ -22,7 +22,9 @@ const typescriptConfig = {
|
||||
'@typescript-eslint': typescriptEslint,
|
||||
},
|
||||
rules: {
|
||||
'@typescript-eslint/no-inferrable-types': 'error',
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@typescript-eslint/no-floating-promises': 'error',
|
||||
'@typescript-eslint/no-non-null-assertion': 'error',
|
||||
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
|
||||
'@typescript-eslint/no-unsafe-argument': 'error',
|
||||
|
||||
Reference in New Issue
Block a user