Skip to content

Commit

Permalink
ESLint: fix config for '@typescript-eslint/no-throw-literal' (#3103)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed May 16, 2021
1 parent 941ca3f commit 558b0e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.yml
Expand Up @@ -551,7 +551,6 @@ overrides:
'@typescript-eslint/no-invalid-void-type': error
'@typescript-eslint/no-require-imports': error
'@typescript-eslint/no-this-alias': error
'@typescript-eslint/no-throw-literal': error
'@typescript-eslint/no-type-alias': off # TODO consider
'@typescript-eslint/no-unnecessary-boolean-literal-compare': error
'@typescript-eslint/no-unnecessary-condition': error
Expand Down Expand Up @@ -608,6 +607,7 @@ overrides:
no-loop-func: off
no-loss-of-precision: off
no-redeclare: off
no-throw-literal: off
no-shadow: off
no-unused-expressions: off
no-unused-vars: off
Expand All @@ -625,6 +625,7 @@ overrides:
'@typescript-eslint/no-loop-func': error
'@typescript-eslint/no-loss-of-precision': error
'@typescript-eslint/no-redeclare': error
'@typescript-eslint/no-throw-literal': error
'@typescript-eslint/no-shadow': error
'@typescript-eslint/no-unused-expressions': error
'@typescript-eslint/no-unused-vars':
Expand Down

0 comments on commit 558b0e0

Please sign in to comment.