DefineEslintConfigsOptions
The parameters for defining ESLint configurations.
Import:
import type { DefineEslintConfigsOptions } from '@mnaoumov/typescript-dev-toolkit/linters/eslint-config';Signature:
export interface DefineEslintConfigsOptionsProperties
| Property | Type | Description |
|---|---|---|
| customConfigs? | (context: EslintConfigContext) => Linter.Config[] | A function that builds custom ESLint configurations. |
| editContext? | (context: EslintConfigContext) => void | A function that edits the ESLint configuration context. |
| minimumNodeVersion? | string | The oldest Node version shipped source has to run on, as a semver range: a library that also runs inside an older runtime than its own tooling (an Obsidian renderer, say) names that runtime's Node here. When omitted, eslint-plugin-n reads the engines field of the project's package.json. |
Links to this page: