Skip to content

FormatOptions

Parameters for the format function.

Import:

import type { FormatOptions } from '@mnaoumov/typescript-dev-toolkit/formatters/biome';

Signature:

export interface FormatOptions

Properties

PropertyTypeDescription
defaultConfigFilePath?string | undefinedThe 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[] | undefinedOptional file paths to format. If omitted, formats the entire project.
rewrite?boolean | undefinedWhether to rewrite the source code.

Links to this page: