added more eslint rc rules

This commit is contained in:
Igor Hrenowitsch Propisnov 2024-05-17 21:10:04 +02:00
parent 99728909a5
commit 4f34f32c60
1 changed files with 9 additions and 0 deletions

View File

@ -66,6 +66,7 @@
// "@stylistic/ts/template-tag-spacing": ["error"],
// "@stylistic/ts/wrap-regex": ["error"],
"no-var": ["error"],
"no-unused-vars": "off",
"prettier/prettier": ["error", { "printWidth": 80 }],
"@angular-eslint/directive-selector": [
"error",
@ -128,6 +129,14 @@
{ "blankLine": "always", "prev": "var", "next": "*" },
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"] }
],
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
"@typescript-eslint/typedef": [
"error",
{