Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/content/docs/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,15 @@ Print trailing commas wherever possible in multi-line comma-separated syntactic

> Default: `"all"`

### `javascript.formatter.trailingCommas`

Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Possible values:
- `"all"`, the trailing comma is always added;
- `"es5"`, the trailing comma is added only in places where it's supported by older version of JavaScript;
- `"none"`, trailing commas are never added.

> Default: `"all"`

### `javascript.formatter.semicolons`

It configures where the formatter prints semicolons:
Expand Down