Skip to content

LintOptions

Parameters for the lint function.

Import:

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

Signature:

export interface LintOptions

Properties

PropertyTypeDescription
defaultConfigFilePath?string | undefinedThe 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[] | undefinedOptional file paths to lint. If omitted, lints the entire project.
shouldFix?boolean | undefinedWhether to fix linting issues automatically.

Links to this page: