Skip to content

Commit 558b0e0

Browse files
ESLint: fix config for '@typescript-eslint/no-throw-literal' (#3103)
1 parent 941ca3f commit 558b0e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ overrides:
551551
'@typescript-eslint/no-invalid-void-type': error
552552
'@typescript-eslint/no-require-imports': error
553553
'@typescript-eslint/no-this-alias': error
554-
'@typescript-eslint/no-throw-literal': error
555554
'@typescript-eslint/no-type-alias': off # TODO consider
556555
'@typescript-eslint/no-unnecessary-boolean-literal-compare': error
557556
'@typescript-eslint/no-unnecessary-condition': error
@@ -608,6 +607,7 @@ overrides:
608607
no-loop-func: off
609608
no-loss-of-precision: off
610609
no-redeclare: off
610+
no-throw-literal: off
611611
no-shadow: off
612612
no-unused-expressions: off
613613
no-unused-vars: off
@@ -625,6 +625,7 @@ overrides:
625625
'@typescript-eslint/no-loop-func': error
626626
'@typescript-eslint/no-loss-of-precision': error
627627
'@typescript-eslint/no-redeclare': error
628+
'@typescript-eslint/no-throw-literal': error
628629
'@typescript-eslint/no-shadow': error
629630
'@typescript-eslint/no-unused-expressions': error
630631
'@typescript-eslint/no-unused-vars':

0 commit comments

Comments
 (0)