-
-
Notifications
You must be signed in to change notification settings - Fork 475
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
📝 Biome doesn't format .jsonc
file with trailing commas
#1659
Comments
{"foo": "bar",
} A GitHub repo to repro is provided. |
Also, FWIW, there's a discussion around the trailing comma formatting behavior of I'm curious about what position will Biome take in this question? |
Personally, I would like to not deviate too much from the specs. Fortunately, we offer the option to allow trailing commas. That should help. Unless there's a bug when you enable |
Yes that's what this issue is about. But I have trouble sharing the link to my repro in the CSB devbox (the link always jumps to a new template, I don't know why), so I created a github repo here: https://github.com/Sec-ant/biome-jsonc-formatting-bug-repro Thanks for checking this. |
Ok, let me rephrase my question in a more specific way: If I configure biome in a way that trailing commas are allowed for all the |
I not very confident with the codebase but I think the switch to support it is here, is this planned to be fixed @ematipico ?
#926 seems also related. |
Working on this issue. It seems that our tests weren't optimal, and I can see that this isn't working at all. Sorry for neglecting the issue |
Environment information
Configuration
Playground link
https://github.com/Sec-ant/biome-jsonc-formatting-bug-repro
Code of Conduct
The text was updated successfully, but these errors were encountered: