Skip to content

Commit d17a4fa

Browse files
committed
Updated .eslintrc with no-unused-vars exceptions and ban-ts-comment [ci skip]
1 parent 1554e4e commit d17a4fa

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.eslintrc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@
3939
"@typescript-eslint/no-namespace": 0,
4040
"@typescript-eslint/no-explicit-any": 0,
4141
"@typescript-eslint/explicit-module-boundary-types": 0,
42-
"@typescript-eslint/no-unused-vars": "warn",
42+
"@typescript-eslint/no-unused-vars": [
43+
"warn",
44+
{
45+
"varsIgnorePattern": "^_",
46+
"argsIgnorePattern": "^_"
47+
}
48+
],
4349
"@typescript-eslint/no-inferrable-types": 0,
4450
"@typescript-eslint/no-non-null-assertion": 0,
4551
"@typescript-eslint/no-var-requires": 0,
@@ -75,6 +81,12 @@
7581
"selector": "typeProperty",
7682
"format": null
7783
}
84+
],
85+
"@typescript-eslint/ban-ts-comment": [
86+
"error",
87+
{
88+
"ts-ignore": "allow-with-description"
89+
}
7890
]
7991
}
8092
}

0 commit comments

Comments
 (0)