Replies: 3 comments 2 replies
-
+1. The plugin for WebStorm have this feature. So it's not consistent. |
Beta Was this translation helpful? Give feedback.
-
That's on purpose and it won't change anytime soon unless there's a very strong reason to do so. Unsafe fixes are unsafe for a reason, they can break your code, hence they require to be opted in, with intent. You can still make unsafe fixes safe using the configuration: https://biomejs.dev/linter/#configure-the-rule-fix |
Beta Was this translation helpful? Give feedback.
-
Thank you for the helpful link! At least I could opt in to something like converting |
Beta Was this translation helpful? Give feedback.
-
now it can automaticly apply safe fix when file save, but not unsafe fix. I'd like to bind a shortcut key to explicitly execute command like
biome check --write --unsafe ${file}
, but no vscode command found.Is it posible to provide a command "biome.check" with its cli params? Or just something like "biome.fixUnsafe"?
I tried to run this shell script with the extension Command Runner. It works but unacceptably slow, because it opens a terminal window firstly.
Beta Was this translation helpful? Give feedback.
All reactions