Skip to content

justforuse/oxlint-html-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oxlint-html-reporter

Generate beautiful HTML reports from oxlint output.

demo

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

About

Generate beautiful HTML reports from oxlint output

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published