1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-09-17 01:15:52 +02:00

fix: relax no-unused-vars ignore variable starting with _

This commit is contained in:
Divlo 2023-02-06 23:42:09 +01:00
parent c3ddbc73b7
commit 32481c316f
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -61,7 +61,7 @@
"no-unsafe-negation": "error",
"no-unsafe-optional-chaining": "error",
"no-unused-private-class-members": "error",
"no-unused-vars": "error",
"no-unused-vars": ["error", { "varsIgnorePattern": "^_" }],
"no-use-before-define": [
"error",
{
@ -200,7 +200,10 @@
"no-loss-of-precision": "off",
"@typescript-eslint/no-loss-of-precision": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{ "varsIgnorePattern": "^_" }
],
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": [
"error",