Skip to content

Commit 6aad413

Browse files
committed
fix: adjust typescript config
1 parent 7c15bae commit 6aad413

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configs/typescript.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ const typescriptConfig = [
8585
'default-case': 'off',
8686
'capitalized-comments': 'off',
8787
'function-call-argument-newline': 'off',
88+
89+
'@typescript-eslint/only-throw-error': ['error', {
90+
allowThrowingUnknown: true,
91+
}],
8892
},
8993
},
9094

0 commit comments

Comments
 (0)