Skip to main content

Interface: FormatterConfig

_internal.FormatterConfig

Hierarchy

Properties

semicolons

semicolons: boolean

Configures Prettier code formatter to use semi-colons.

Default

true

Defined in

models.ts:794


singleQuote

singleQuote: boolean

Configures Prettier code formatter to use single quotes instead of double quotes.

Default

false

Defined in

models.ts:799


tabSize

tabSize: number

The number of spaces per indentation-level.

Default

2

Defined in

models.ts:788


trailingComma

trailingComma: boolean

Configures Prettier code formatter to use trailing commas.

Default

true

Defined in

models.ts:805


useTabs

useTabs: boolean

If true, lines are indented with tabs instead of spaces.

Default

false

Defined in

models.ts:782