Skip to content

LintOptions

Parameters for the lint function.

Import:

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

Signature:

export interface LintOptions

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 lint. If omitted, lints the entire project.
shouldFix?boolean | undefinedWhether to apply the safe fixes.

Links to this page: