A CodeClimate-compatible formatter for Stylelint that outputs lint results in the CodeClimate issue format, compatible with GitLab Code Quality reports. Current stable version is 1.1.0, released with support for Stylelint 16 and Node.js 18+. It is maintained as a dedicated tool for GitLab CI integration, differentiating from other Stylelint formatters by producing the exact JSON schema required for GitLab's Code Quality artifact reports.
npm install stylelint-formatter-codeclimateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install Stylelint and the formatter, then run stylelint with the custom formatter and output to a file for GitLab Code Quality.
Use ESM imports (import) or upgrade to Node.js 18+ with type: 'module' in package.json.
Upgrade to 1.0.0+ and adjust your CI pipeline.
Use full path: node_modules/stylelint-formatter-codeclimate or use --custom-formatter ../../node_modules/stylelint-formatter-codeclimate if inside a subdirectory.
Ensure Stylelint is at version 16 or later.
Switch to import or use dynamic import().
Use --custom-formatter with correct path and ensure Stylelint >=16.
Check that the output file is in the correct format and referenced correctly in artifacts:reports:codeclimate.
Run npm install --save-dev stylelint-formatter-codeclimate and verify node_modules.