WarnOnEslintMajorMismatchOptions
Parameters for warnOnEslintMajorMismatch.
Import:
import type { WarnOnEslintMajorMismatchOptions } from '@mnaoumov/obsidian-dev-toolkit/linters/obsidianmd-eslint-nesting';Signature:
export interface WarnOnEslintMajorMismatchOptionsProperties
| Property | Type | Description |
|---|---|---|
| readObsidianmdEslintVersion? | () => string | Reads the version of the eslint that eslint-plugin-obsidianmd resolves. |
| readRunningEslintVersion? | () => null | string | Reads the version of the eslint the project runs, or null when the project has none of its own. |
| warn? | (message: string) => void | Reports the warning. |
Links to this page: