-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
In VS Code, it's possible to have unused imports automatically removed when saving the file:
.vscode/setting.json
{
"editor.codeActionsOnSave": {
"source.removeUnusedImports": "explicit"
}
}
I think enforcing this as an autofixable ESLint rule (in a shared config, for example) would be beneficial. I'm using eslint-plugin-unused-imports for now, but I prefer not having to install another dependency just for a single rule.
Metadata
Metadata
Assignees
Labels
No labels