fix: types of nj15

This commit is contained in:
Julien Froidefond
2025-03-02 14:40:15 +01:00
parent a4b521fe2e
commit e60b48d549
27 changed files with 133 additions and 100 deletions

View File

@@ -3,9 +3,8 @@
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "unused-imports"],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
@@ -23,7 +22,7 @@
"no-unreachable": "error",
"no-unused-expressions": "warn",
"no-unused-private-class-members": "warn",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-imports": "warn",
"unused-imports/no-unused-vars": [
"warn",
{
@@ -34,7 +33,6 @@
}
],
"no-empty-function": "warn",
"no-empty": ["warn", { "allowEmptyCatch": true }],
"@typescript-eslint/consistent-type-imports": ["error", { "prefer": "type-imports" }]
"no-empty": ["warn", { "allowEmptyCatch": true }]
}
}