feat(no-undefined-types): checkUsedTypedefs option - #1544
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):checkUsedTypedefsoption; fixes #1165