Skip to content

Commit

Permalink
added ignore patterns ('^_')
Browse files Browse the repository at this point in the history
- added ingore patterns for array destruction, vars and args
  • Loading branch information
e11sy committed Apr 3, 2024
1 parent 4f30741 commit 0e4f5a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ts.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-unused-vars": ["error", {
"args": "after-used"
"args": "after-used",
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_"
}],
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/no-empty-interface": 0,
Expand Down

0 comments on commit 0e4f5a9

Please sign in to comment.