Skip to content

Commit

Permalink
eslint: updated no-unused-vars config
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Oct 21, 2024
1 parent f94a3e1 commit 1b34090
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,11 @@ export default [{
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/parameter-properties': 'error',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error', {
argsIgnorePattern: '^_'
caughtErrorsIgnorePattern: '^_',
argsIgnorePattern: '^_',
varsIgnorePattern: '^_'
}],
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-for-of': 'error',
Expand Down

0 comments on commit 1b34090

Please sign in to comment.