LintOptions
Parameters for the lint function.
Import:
import type { LintOptions } from '@mnaoumov/typescript-dev-toolkit/linters/eslint';Signature:
export interface LintOptionsProperties
| Property | Type | Description |
|---|---|---|
| defaultConfigFilePath? | string | undefined | The configuration file copied to the project root when the project has none. Without it, ESLint runs against whatever it finds, and reports a missing configuration itself. |
| 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: