Enhancement: [await-thenable] Add a suggestion fixer #6235
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
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/await-thenable/
Description
We can't add a fixer to the rule's reports because removing a seemingly unnecessary
await
potentially changes program runtime. But we can suggest to the user to remove theawait
. https://eslint.org/docs/latest/developer-guide/working-with-rules#providing-suggestionsFail
Pass
Additional Info
No response
The text was updated successfully, but these errors were encountered: