Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions website/src/pages/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,13 @@ The type of quote used when representing string literals. It can be `single` or

> Default: `double`

### `javascript.formatter.jsxQuoteStyle`
[//]: # (### `javascript.formatter.jsxQuoteStyle`)

The type of quote used when representing jsx string literals. It can be `single` or `double`.
[//]: # ()
[//]: # (The type of quote used when representing jsx string literals. It can be `single` or `double`.)

> Default: `double`
[//]: # ()
[//]: # (> Default: `double`)

### `javascript.formatter.quoteProperties`

Expand Down
1 change: 0 additions & 1 deletion website/src/pages/formatter/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Available options:
--indent-size <NUMBER> The size of the indentation, 2 by default
--line-width <NUMBER> What's the max width of a line. Defaults to 80.
--quote-style <double|single> The style for quotes. Defaults to double.
--jsx-quote-style <double|single> The style for jsx quotes. Defaults to double.
--quote-properties <preserve|as-needed> When properties in objects are quoted. Defaults to
asNeeded.
--trailing-comma <all|es5|none> Print trailing commas wherever possible in multi-line
Expand Down