docs: add javascript.formatter.trailingCommas#527
docs: add javascript.formatter.trailingCommas#527Sec-ant merged 1 commit intobiomejs:mainfrom Marukome0743:Marukome0743-patch-1
javascript.formatter.trailingCommas#527Conversation
✅ Deploy Preview for biomejs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Thank you, I think we should also mark trailingComma as deprecated or remove it. Do you want to help?
There're other deprecated options that possibly should also be taken care of, like indentSize and command line options like --trailing-comma in the CLI doc page.
Yup, I wanna add the warning to old options. Warning
Or folding the old options like the below. javascript.formatter.trailingComma (deprecated)Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Possible values:
I'm willing to update the docs in order to adapt version 1.8.0. This PR might be just temporary update until #518. |
|
Fair, let's merge this first. |
Summary
The
javascript.formatter.trailingCommaoption is deprecated and renamed tojavascript.formatter.trailingCommas.Then add the configuration.
Details can be checked in biomejs/biome#2492