FormatOptions
Parameters for the format function.
Import:
import type { FormatOptions } from '@mnaoumov/typescript-dev-toolkit/formatters/biome';Signature:
export interface FormatOptionsProperties
| Property | Type | Description |
|---|---|---|
| defaultConfigFilePath? | string | undefined | The configuration file copied to the project root when the project has none. Omitted, a biome.json extending the shared one this package ships (assets/biome.json) is written instead. |
| 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: