Skip to content

Commit ce0d804

Browse files
committed
disable no-unused-vars for caughtErrors
1 parent 7e99afc commit ce0d804

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

eslint.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,13 @@ export default tseslint.config(
7979
],
8080
'@typescript-eslint/no-require-imports': 'off', // diabling until typescript rewrite
8181
'@typescript-eslint/no-shadow': 'error',
82-
'@typescript-eslint/no-empty-function': 'off', // disabling due to lots of functions defaulting to empty
82+
'@typescript-eslint/no-empty-function': 'off', // disabling due to lots of functions defaulting to empt@typescript-eslint/no-empty-functiony
83+
'@typescript-eslint/no-unused-vars': [
84+
"error",
85+
{
86+
caughtErrors: "none"
87+
}
88+
],
8389
'no-underscore-dangle': 'off',
8490
'comma-dangle': ['error', 'always-multiline'],
8591
'comma-style': ['error', 'last'],

0 commit comments

Comments
 (0)