An output formatter for markdownlint-cli2 that writes linting results to a SARIF (Static Analysis Results Interchange Format) file. Current version is 0.0.4. It is a stable, low-churn package that receives updates mainly when markdownlint-cli2 changes its API. Differentiator: provides standardized SARIF output for integration with tools like GitHub Advanced Security or other SARIF-compatible platforms. It is extracted from the main markdownlint-cli2 project and published as a separate npm package.
npm install markdownlint-cli2-formatter-sarifNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure markdownlint-cli2 to use the SARIF formatter. Run markdownlint-cli2 to generate a SARIF file.
Always specify a custom name using the 'name' option to avoid collisions.
Ensure markdownlint-cli2 is at least 0.0.4.
npm install --save-dev markdownlint-cli2-formatter-sarif