Enhancement: [no-throw-literal] option to also check promise rejections #7673
Labels
enhancement: plugin rule option
New rule option for an existing eslint-plugin rule
external
This issue is with another package, not typescript-eslint itself
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Before You File a Proposal Please Confirm You Have Done The Following...
My proposal is suitable for this project
Link to the rule's documentation
https://typescript-eslint.io/rules/no-throw-literal
Description
a promise rejected with a non-
Error
value has the same problems as athrow
statement with a non-Error
value, so it should also check promise rejectionsFail
Pass
Additional Info
No response
The text was updated successfully, but these errors were encountered: