diff --git a/configs/generic.js b/configs/generic.js index 536144b..8303194 100644 --- a/configs/generic.js +++ b/configs/generic.js @@ -115,7 +115,19 @@ const generic = { ], 'no-unused-vars': [ 'warn', - { varsIgnorePattern: '\\_' }, + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_', + caughtErrorsIgnorePattern: '^_', + }, + ], + '@typescript-eslint/no-unused-vars': [ + 'warn', + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_', + caughtErrorsIgnorePattern: '^_', + }, ], 'no-alert': 'error', 'no-caller': 'error',