fix: Update eslint rule for unused variables

This commit is contained in:
wancat committed 2024-04-01 11:53:02 +08:00
1 parent 4efd670ed6
commit df140c64f8
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ module.exports = {
'@typescript-eslint/no-unused-vars': [ '@typescript-eslint/no-unused-vars': [
'error', 'error',
{ {
args: 'all', args: 'after-used',
argsIgnorePattern: '^_', argsIgnorePattern: '^_',
caughtErrors: 'all', caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_',