This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 656
🐛 rome format
ignores command line options
#3175
Labels
Comments
The problem seems to be in the CLI/Workspace as @leops pointed out in #3167 (comment) I verified that quickly by adding a |
This was referenced Sep 7, 2022
Merged
I might be missing something but here it stills insists on using double quotes
note: I'm trying to format |
I have met the same issue: rome v0.9.1 format with single quote does not work, maybe we should reopen this |
I was able to replicate the issue. I am going to re-open the issue and fix it |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Environment information
Version: `main`
What happened?
Run
rome
withquote-style="single"
cargo run --bin rome --release format ~/Desktop/jquery.min.js --quote-style=single
Rome formats the string literals in
jquery.min.js
with double quotes.Expected result
The command line arguments take precedence over the configuration and Rome formats the string literals in
jquery.min.js
with single quotesCode of Conduct
The text was updated successfully, but these errors were encountered: