ESLint Custom Parser for Markdown Files

JSON →
library 1.2.1 ·javascript deprecated
verified May 27, 2026

markdown-eslint-parser is a custom ESLint parser designed to enable linting of `.md` (Markdown) files, primarily in conjunction with `eslint-plugin-md`. Unlike standard parsers that generate a full AST for the parsed language, this package uniquely returns an empty JavaScript AST with a special `mdCode` property containing the raw Markdown content as a string. This allows `eslint-plugin-md` to process the Markdown itself using tools like `remark-lint`. The current stable version is 1.2.1. Given the recent introduction and active development of the official `@eslint/markdown` (which offers integrated parsing and rules for CommonMark and GitHub-Flavored Markdown) and the last update of its primary companion `eslint-plugin-md` dating back about two years, `markdown-eslint-parser` should be considered superseded for new projects. It maintains a niche for existing setups reliant on `eslint-plugin-md`.

total hits 15
actors 7 distinct systems
last hit 1d ago human
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇫🇮 Finland · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany