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
+ }
+ ]
}
}
];
|