LintOptions
Parameters for the lint function.
Import:
import type { LintOptions } from '@mnaoumov/typescript-dev-toolkit/linters/auto';Signature:
export interface LintOptionsProperties
| Property | Type | Description |
|---|---|---|
| defaultConfigFilePath? | string | undefined | The configuration file used when the project has none of its own, as the chosen linter's own lint takes it. |
| linter? | Linter | undefined | The linter to run. Omitted, detectLinter chooses it. |
| paths? | string[] | undefined | Optional file paths to lint. If omitted, lints the entire project. |
| shouldFix? | boolean | undefined | Whether to fix linting issues automatically. |
Links to this page: