Skip to content

Commit

Permalink
feat: configure rule@typescript-eslint/no-unused-vars to ignore var…
Browse files Browse the repository at this point in the history
…s starting with `_` (#15)
  • Loading branch information
JLarky authored May 3, 2024
1 parent b5547bc commit 6b4d0ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export default function unjsPreset(
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-unused-vars": [
"warn",
{ varsIgnorePattern: "^_", argsIgnorePattern: "^_" },
],
"unicorn/prefer-string-replace-all": 0,
"unicorn/no-abusive-eslint-disable": 0,
"unicorn/import-style": 0,
Expand Down

0 comments on commit 6b4d0ce

Please sign in to comment.