markdownlint-cli2 JSON formatter

JSON →
library 0.0.9 ·javascript
verified Jun 4, 2026

Output formatter for markdownlint-cli2 that writes lint results to a JSON file. Current version 0.0.9 is stable and in active development. This package, part of the markdownlint ecosystem, provides a simple, straightforward way to export markdownlint-cli2 results as structured JSON for programmatic consumption, CI systems, or integration with other tools. Unlike other formatters that output to stdout or other formats, this one exclusively writes to a file with customizable name and indentation. It requires markdownlint-cli2 >=0.0.4 as a peer dependency and is configured via the outputFormatters array in the markdownlint-cli2 configuration file.