1.0.1 • Published 6 months ago

oxlint-html-reporter v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

oxlint-html-reporter

Generate beautiful HTML reports from oxlint output.

Installation

npm install -g oxlint-html-reporter

Usage

Pipe oxlint JSON output directly to oxlint-html:

npx oxlint -f=json | oxlint-html

This will create oxlint-report.html in the current directory. You can specify a different output file:

npx oxlint -f=json | oxlint-html custom-report.html

Programmatic Usage

import { generateReport } from 'oxlint-html-reporter';

await generateReport('input.json', 'output.html');

Features

  • Beautiful, modern UI using Tailwind CSS
  • Summary statistics
  • Detailed error and warning information
  • File locations and code references
  • Responsive design
  • Zero dependencies for the HTML output

License

MIT

1.0.1

6 months ago

1.0.0

6 months ago