Skip to content

Commit 68b6a15

Browse files
committed
feat: warn against throwing non-errors
1 parent 5953a9d commit 68b6a15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.eslintrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ module.exports = {
183183
'rxjs/no-unsafe-catch': 'error',
184184
'rxjs/no-subject-unsubscribe': 'error',
185185

186-
// https://github.com/cartant/eslint-plugin-etc/issues/1
187-
// 'etc/throw-error': 'error',
186+
'etc/throw-error': 'error',
188187
'etc/deprecation': 'warn',
189188

190189
'@typescript-eslint/no-var-requires': 'off',

0 commit comments

Comments
 (0)