Skip to content

WarnOnEslintMajorMismatchOptions

Parameters for warnOnEslintMajorMismatch.

Import:

import type { WarnOnEslintMajorMismatchOptions } from '@mnaoumov/obsidian-dev-toolkit/linters/obsidianmd-eslint-nesting';

Signature:

export interface WarnOnEslintMajorMismatchOptions

Properties

PropertyTypeDescription
readObsidianmdEslintVersion?() => stringReads the version of the eslint that eslint-plugin-obsidianmd resolves.
readRunningEslintVersion?() => null | stringReads the version of the eslint the project runs, or null when the project has none of its own.
warn?(message: string) => voidReports the warning.

Links to this page: