Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
34 changes: 19 additions & 15 deletions src/docs/guide/usage/formatter/generated-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ search: false
Most options are the same as Prettier's options.
See also <https://prettier.io/docs/options>

# arrowParens
## arrowParens

type: `string | null`

Expand All @@ -25,65 +25,69 @@ type: `boolean | null`

Print spaces between brackets in object literals. (Default: true)

# embeddedLanguageFormatting
## embeddedLanguageFormatting

type: `string | null`

Control whether formats quoted code embedded in the file. (Default: "auto")

# endOfLine
## endOfLine

type: `string | null`

Which end of line characters to apply. (Default: "lf")

# experimentalSortImports
## experimentalSortImports

type: `object | null`

Experimental: Sort import statements. Disabled by default.

## experimentalSortImports.groups
### experimentalSortImports.groups

type: `array | null`

Custom groups configuration for organizing imports.
Each array element represents a group, and multiple group names in the same array are treated as one.
Accepts both `string` and `string[]` as group elements.

### experimentalSortImports.groups[n]
#### experimentalSortImports.groups[n]

type: `string[]`

## experimentalSortImports.ignoreCase
### experimentalSortImports.ignoreCase

type: `boolean`

default: `true`

## experimentalSortImports.newlinesBetween
### experimentalSortImports.internalPattern

type: `string[]`

### experimentalSortImports.newlinesBetween

type: `boolean`

default: `true`

# experimentalSortImports.order
### experimentalSortImports.order

type: `string | null`

## experimentalSortImports.partitionByComment
### experimentalSortImports.partitionByComment

type: `boolean`

default: `false`

## experimentalSortImports.partitionByNewline
### experimentalSortImports.partitionByNewline

type: `boolean`

default: `false`

## experimentalSortImports.sortSideEffects
### experimentalSortImports.sortSideEffects

type: `boolean`

Expand All @@ -101,7 +105,7 @@ type: `boolean | null`

Use single quotes instead of double quotes in JSX. (Default: false)

# objectWrap
## objectWrap

type: `string | null`

Expand All @@ -114,7 +118,7 @@ type: `integer | null`

The line length that the printer will wrap on. (Default: 100)

# quoteProps
## quoteProps

type: `string | null`

Expand Down Expand Up @@ -144,7 +148,7 @@ type: `integer | null`

Number of spaces per indentation level. (Default: 2)

# trailingComma
## trailingComma

type: `string | null`

Expand Down
Loading