Skip to content

lint

Lint the project with Biome.

A warning fails the run, as it does for ESLint: Biome exits 0 on warnings unless it is given --error-on-warnings.

Import:

import { lint } from '@mnaoumov/typescript-dev-toolkit/linters/biome';

Signature:

function lint(options: LintOptions | undefined): Promise<void>

Parameters:

Parameter Type Description
options LintOptions | undefined The LintOptions.

Returns: Promise<void> — A Promise that resolves when the project lints clean.


Links to this page: