Registry / devops / scss-lint-html-reporter

scss-lint-html-reporter

JSON →
library0.4.2jsnpmunverified

Generates HTML reports (full or lite) from SCSS Lint JSON output, with optional TeamCity integration. Stable version 0.4.2, low maintenance cadence. Differentiators: supports both detailed and summary HTML reports, and can output TeamCity service messages for CI/CD integration.

npm install scss-lint-html-reporter
INSTALL
IMPORT
SIG · SCSS-LINT-HTML-REP
S
scss-lint-html-reporter
devopsjavascriptv0.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

reporter (binary)
scss-lint -f JSON | node node_modules/scss-lint-html-reporter/bin/reporter.js
scss-lint -f JSON | reporter
The reporter is a CLI binary, not a JavaScript module. Run via npx or path to bin/reporter.js.

Run SCSS Lint with JSON formatter and pipe output to the reporter to generate an HTML report.

scss-lint -f JSON | node node_modules/scss-lint-html-reporter/bin/reporter.js -o my-report.html
scss-lint-html-reporter --version
Debug
Known issues
gotchaThe reporter expects SCSS Lint JSON format. If SCSS Lint is not installed or output is not JSON, the reporter will fail silently or produce an empty report.
fix
Ensure SCSS Lint is installed and the -f JSON flag is used.
affects: >=0.0.0
gotcha--nohtml without --teamcity will produce no output (no HTML, no TeamCity).
fix
Use --teamcity along with --nohtml to get TeamCity output only.
affects: >=0.0.0
deprecatedThe package uses hairballs internally (an older version). No breaking changes reported, but consider alternative tools like stylelint.
fix
No fix needed, but stylelint can replace SCSS Lint and has its own reporters.
affects: >=0.4.0
Errors
Common errors & fixes
scss-lint: command not found
SCSS Lint not installed or not in PATH.
fix
Install SCSS Lint via Ruby: gem install scss-lint
ENOENT: no such file or directory, open 'scss-lint-report.html'
Output file path could not be written (e.g., missing directory permissions).
fix
Specify a writable path with -o, or run from a directory where you have write access.
Upgrade
Version history
0.4.2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
scss-lint-html-reporter — npm install scss-lint-html-reporter · libregistry