Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Question: how to remove semicolons? #3469

Locked Answered by Lokua
ClementNerma asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like this is supported, now?
#3702

At this time is not published in the stable version of rome, though.

I'm totally new this tool and not sure if merges into main result in a new published npm package? I assumed rome@next or rome@nightly would but I tried both and still can't figure out how to actually configure it (I tried "formatter": { "semicolons": "as-needed" } in rome.json, also tried putting it into rules.

Edit: semicolons option does work for the CLI, I just can't figure out how/where to include it in rome.json

Edit 2: It's under javascript.formatter.semicolons. Sweet!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Conaclos
Comment options

Answer selected by Conaclos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants