Skip to content

format

Format the source code with Biome.

Import:

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

Signature:

function format(options: FormatOptions | undefined): Promise<void>

Parameters:

Parameter Type Description
options FormatOptions | undefined The FormatOptions.

Returns: Promise<void> — A Promise that resolves when the source code has been formatted.


Links to this page: