-
-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📎 --write
everywhere
#2267
Comments
Since this isn't clear unless someone reads the original discussion, |
On second thought, I think we should use |
But Biome isn't just a linter 🙄 |
Yes. However, |
I feel that almost everything (write, fix, apply) is natural, but I'm not sure how people perceive By the way, do we need to separate |
I don't understand what you mean, it seems to me that the following two paragraphs are contradictory.
I agree that |
I looked back and sure enough, there was a contradiction😅 |
Alternatively, we could accept both |
So one would be the alias of the other? I like the idea! |
I also like it. |
Yes. |
What should we do when It looks like a command to show lint errors subject to unsafe fixes. But here we should show an error incompatible arguments? |
For now, I could just throw a diagnostic saying that the flag is only usable with |
Description
See #2240 for more context.
--write
and--unsafe
option to lint/check CLI commands-
--write
indicates if (safe) code fixes should be applied-
--unsafe
indicates that safe and unsafe code fixes should be applied if--write
is passedbiome <lint|check> --apply
an alias ofbiome <lint|check> --write
biome <lint|check> --apply-unsafe
an alias ofbiome <lint|check> --write --unsafe
--apply
and--apply-unsafe
The text was updated successfully, but these errors were encountered: