Skip to content

Commit

Permalink
Ignore unused vars with leading underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
dotNomad committed Nov 15, 2024
1 parent 37d9eda commit 8bc22cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions extensions/vscode/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ export default [
curly: "warn",
eqeqeq: "warn",
"require-await": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "all",
argsIgnorePattern: "^_",
caughtErrors: "all",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
ignoreRestSiblings: true,
},
],
},
},
eslintConfigPrettier,
Expand Down

0 comments on commit 8bc22cf

Please sign in to comment.