summary refs log tree commit diff
path: root/eslint.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'eslint.config.mjs')
-rw-r--r--eslint.config.mjs12
1 files changed, 11 insertions, 1 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs

index df125dd..d369510 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs
@@ -33,7 +33,17 @@ export default [ }, rules: { - 'no-mixed-spaces-and-tabs': 'off' + 'no-mixed-spaces-and-tabs': 'off', + 'no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + caughtErrorsIgnorePattern: '^_', + destructuredArrayIgnorePattern: '^_', + varsIgnorePattern: '^_', + reportUsedIgnorePattern: true + } + ] } } ];