Skip to content

eslint-markdown ​

The Markdown plugin for ESLint.

INFO

See Get Started for installation and configuration guidance.

eslint-markdown is an ESLint plugin that provides additional rules and shared configurations for linting Markdown. It is designed to work alongside ESLint's built-in Markdown support, @eslint/markdown, without duplicating its rules.

Config Inspector ​

If you want to inspect the ESLint configuration for eslint-markdown, use the config inspector.

Exports ​

The package's default export is an ESLint plugin with the following properties:

NameDescription
metaObject containing the package name and version.
rulesObject mapping rule names to the available rule objects.
configsObject containing the recommended, stylistic, base, and all configs.
js
import md from 'eslint-markdown';

md.meta;
md.rules;
md.configs;