Package Exports
- oxlint-html-reporter
- oxlint-html-reporter/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (oxlint-html-reporter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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