[no-throw-literal] Rename to only-throw-error #6109
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
enhancement: plugin rule option
New rule option for an existing eslint-plugin rule
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Milestone
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
Per the docs:
We've got a v6 release coming up some. Maybe a good time to
replacedBy
-deprecate/rename to a more accurate name?Edit: actually, this isn't a breaking change, as we can keep the old rule name aliasing the rule with
replacedBy
.Additional Info
ESLint core's docs are https://eslint.org/docs/latest/rules/no-throw-literal.
The text was updated successfully, but these errors were encountered: