Replies: 2 comments 8 replies
-
cc @nhedger sorry for the tag but I'm trying to convince our team to move to Biome and this particular issue is somewhat of a blocker for development 🙏 I thought about creating multiple config files but it looks like the name of |
Beta Was this translation helpful? Give feedback.
8 replies
-
For anyone stumbling upon this discussion from search engines, this is what I ended up doing: // package.json
{
"scripts": {
"biome:check": "biome check .",
"biome:write": "biome check --write . && bun run biome:write:imports",
"biome:write:imports": "biome lint --write --only correctness/noUnusedImports ."
} This is not ideal but it works now. It would be much easier if we could disable particular Biome rules in the VSCode settings. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is my Biome config file:
Toggle to see `biome.jsonc` file
And this is my VSCode
settings.json
:The setup works well, but I don't like the fact that Biome removed unused imports while I am developing in VSCode. I would like to apply the rule only when Biome is run via the CLI.
How can I do this?
Beta Was this translation helpful? Give feedback.
All reactions