-
-
Notifications
You must be signed in to change notification settings - Fork 168
feat(no-undefined-types
): checkUsedTypedefs
option
#1544
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
Conversation
84aaa5f
to
69c3e49
Compare
🎉 This PR is included in version 60.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I don't think this PR closes the linked issue, as it was seeking a way to verify that all imported |
As mentioned in this comment, it is not really possible for us to do that through ESLint currently (it only operates on a per-file basis). I'm not inclined for us to add our own file-reading/parsing mechanism. So the PR implements what is possible now.
It depends on where they are scoped. If they are in the global scope, then yes, you are right. But the point is for those who want to use the typedef in some manner. It is not something everyone will want to use. |
An |
So you want to file an issue to check for unused imports? TS checks for this already, btw... |
That one is using |
Of course. I was indeed speaking of
So you want to file an issue for cases where not using |
Sure, will do! |
feat(
no-undefined-types
):checkUsedTypedefs
option; fixes #1165