Output HTML reports of stylelint results. Current stable version is 1.0.0. This package provides a custom formatter for stylelint that generates an HTML report from linting results. It is a recent release with no known release cadence. Key differentiators: it outputs a clean, readable HTML report, useful for sharing or integrating into CI pipelines. Alternatives include JSON or other formatters, but this is the only dedicated HTML formatter for stylelint.
npm install stylelint-html-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Runs stylelint on all CSS files and outputs an HTML report to report.html.
Use import statement or dynamic import() if using CommonJS.
Use absolute path or path relative to project root, e.g., --custom-formatter=./node_modules/stylelint-html-formatter
Ensure package is installed: npm install --save-dev stylelint-html-formatter
Switch to import statement as the package is ESM-only.