Open cjg1122 opened 2 months ago
1.93.1
2.3.0
1.9.0
The documentation mentions The import sorter doesn’t remove unused imports. We provide the linter rule noUnusedImports with a safe fix that removes unused imports.
The import sorter doesn’t remove unused imports. We provide the linter rule noUnusedImports with a safe fix that removes unused imports.
as a matter of fact The import sorter remove unused imports.
"editor.codeActionsOnSave": { "quickfix.biome": "explicit", "source.organizeImports": "explicit" },
cmd+s
Consistent with documentation or configurable
Not applicable
No response
@nhedger When I cli the pnpm check import a from ‘. /a" wasn't deleted, but it was deleted when I saved it with cmd +s.
import a from ‘. /a"
https://github.com/user-attachments/assets/2049db6b-b63e-4a77-8058-2d7c41a572cc
VS Code version
1.93.1
Extension version
2.3.0
Biome version
1.9.0
Operating system
Description
The documentation mentions
The import sorter doesn’t remove unused imports. We provide the linter rule noUnusedImports with a safe fix that removes unused imports.
as a matter of fact The import sorter remove unused imports.
Steps to reproduce
cmd+s
Expected behavior
Consistent with documentation or configurable
Does this issue occur when using the CLI directly?
Not applicable
Link to a minimal reproduction
No response
Logs
No response