FormatOptions
Parameters for the format function.
Import:
import type { FormatOptions } from '@mnaoumov/typescript-dev-toolkit/formatters/prettier';Signature:
export interface FormatOptionsProperties
| Property | Type | Description |
|---|---|---|
| defaultConfigFilePath? | string | undefined | The Prettier configuration used when the project has none of its own. Omitted, the shared one this package ships (assets/prettier.json) is used. |
| paths? | string[] | undefined | Optional file paths to format. If omitted, formats the entire project. |
| rewrite? | boolean | undefined | Whether to rewrite the source code. |
Links to this page: