Replies: 1 comment 5 replies
-
You can use the linter rule noUnusedImports. The rule has a safe fix that remove unused imports. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to automatically remove useless empty imports?
Here's a playground.
Input:
Expected output:
Beta Was this translation helpful? Give feedback.
All reactions