Skip to content

Commit a0a0ea0

Browse files
committed
fix: add argsIgnorePattern to no-unused-vars eslint rule
Allow unused function arguments prefixed with underscore. Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1be7ef1 commit a0a0ea0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@
108108
"@typescript-eslint/no-unused-vars": [
109109
"error",
110110
{
111-
"caughtErrors": "none"
111+
"caughtErrors": "none",
112+
"argsIgnorePattern": "^_"
112113
}
113114
],
114115
"@typescript-eslint/no-var-requires": "off",

0 commit comments

Comments
 (0)