Skip to content

Commit

Permalink
Use only-throw-error rule instead of deprecated no-throw-literal.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Mar 26, 2024
1 parent 7351e15 commit 120b1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@
}
],
"@typescript-eslint/no-this-alias": "error",
"@typescript-eslint/no-throw-literal": "error",
"@typescript-eslint/no-type-alias": "off",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
"@typescript-eslint/no-unnecessary-condition": [
Expand Down Expand Up @@ -439,6 +438,7 @@
"@typescript-eslint/no-useless-template-literals": "error",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/non-nullable-type-assertion-style": "error",
"@typescript-eslint/only-throw-error": "error",
"@typescript-eslint/parameter-properties": "error",
"@typescript-eslint/prefer-as-const": "error",
"@typescript-eslint/prefer-destructuring": [
Expand Down

0 comments on commit 120b1c5

Please sign in to comment.