An output formatter for markdownlint-cli2 (v0.0.7, latest stable) that writes linting results to a GitLab Code Quality report artifact JSON file, following a subset of the CodeClimate specification. It integrates seamlessly with GitLab CI/CD pipelines via the codequality report artifact and supports configurable severity levels for errors and warnings (e.g., critical, blocker, minor). Updated periodically; requires markdownlint-cli2 >=0.0.4.
npm install markdownlint-cli2-formatter-codequalityNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure markdownlint-cli2 to output GitLab Code Quality JSON.
Use this formatter only when you need GitLab Code Quality artifacts. For human-readable output, use markdownlint-cli2-formatter-default.
Keep markdownlint-cli2 updated and check the changelog for breaking changes.
Explicitly specify the output file name using the 'name' option to avoid surprises.
Run: npm install markdownlint-cli2-formatter-codequality --save-dev
Use: "outputFormatters": [["markdownlint-cli2-formatter-codequality"]]
Upgrade markdownlint-cli2 to >=0.0.4.
Ensure .markdownlint-cli2.jsonc contains the correct outputFormatters array.