-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Deprecate no-type-alias #6036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The big question for me to answer when considering whether a rule should be done in user-land with By default In terms of intersecting with Also I agree that the standard it enforces is of dubious value at best. Should we remove it? It's really hard to say without more information from the community. I don't know if people actually use the rule. This is one of the hardest parts of this project - 99% of our users are silent consumers. |
Sourcegraph can help inform this!
Looking at other long-standing rules not in preset configs:
Queries are inherently slightly inaccurate because of dynamic and multi-line values. Given that only ~160 results show up for enabling the rule and it mostly overlaps with with Aside: I kind of want to create a whole dashboard for all rules on Sourcegraph. But that's for another time 😄 |
The thing to look for is Double check what those configs use and how many people use them. |
Ah good point, thanks!
I also tested these with ESLint's |
Fixed in #6229. It'll be available in v6. 🚀 |
Overview
There are two issues with
@typescript-eslint/no-type-alias
as it exists today:@typescript-eslint/consistent-type-definitions
Proposal: let's deprecate the rule in v6, and remove it in v7?
The text was updated successfully, but these errors were encountered: