An output formatter for markdownlint-cli2 that summarizes linting results. Version 0.0.8 is the latest stable release. It provides four summary modes: by file, by rule, by file then by rule, and by rule then by file. It is a peer dependency of markdownlint-cli2 (>=0.0.4) and is configured via the CLI2 JSON config file. Unlike default formatters, it condenses results for easier reporting.
npm install markdownlint-cli2-formatter-summarizeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the formatter as a dev dependency, configures it in .markdownlint-cli2.jsonc to summarize by file, and runs markdownlint-cli2 on all markdown files.
Set exactly one of 'byFile', 'byRule', 'byFileByRule', or 'byRuleByFile' to true.
Upgrade markdownlint-cli2 to 0.0.4 or later.
No action needed; continue using the package or switch to built-in if available.
Install the package: npm install markdownlint-cli2-formatter-summarize --save-dev, and ensure markdownlint-cli2 >=0.0.4.
Use { "byFile": true } instead of { "by-file": true }.Use array syntax: [ "markdownlint-cli2-formatter-summarize", { "byFile": true } ].