Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Labels
Milestone
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I havesearched for related issues and found none that match my proposal.
- I haveread the FAQ and my problem is not listed.
Description
One line of code triggers two different rules:
- https://typescript-eslint.io/rules/prefer-ts-expect-error/
- https://typescript-eslint.io/rules/ban-ts-comment/
So if I must use@ts-ignore-error
(due to flaky typescript errors) I have to disable two rules.
Why are there two rules that do the same thing? Given thatprefer-ts-expect-error
already exists, I think it would make sense to drop the specific check fromban-ts-comment
Impacted Configurations
I think one is inrecommended
and the other one is just instrict
Additional Info
No response