🚨(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:
Anthony LC
2025-10-20 21:53:10 +02:00
parent 18feab10cb
commit b3cc2bf833
11 changed files with 18 additions and 14 deletions

View File

@@ -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',