Skip to content

justforuse/oxlint-html-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oxlint logo

oxlint-html-reporter

✨ Generate beautiful HTML reports from oxlint output

demo

📦 Installation

npm install -g oxlint-html-reporter
# or
pnpm add -g oxlint-html-reporter

🚀 Usage

Quick Start

Simply run in your project directory - it will automatically execute oxlint and generate a report:

npx oxlint-html

From JSON File

# Generate from existing JSON file
npx oxlint-html oxlint-output.json

# Specify custom output file
npx oxlint-html oxlint-output.json my-report.html

Pipe from oxlint

npx oxlint --format=json | oxlint-html

💻 Programmatic Usage

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

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

✅ Features

  • 🎨 Beautiful UI - Modern design powered by Tailwind CSS
  • 📊 Summary Dashboard - Quick overview of errors and warnings
  • 📍 Precise Locations - File paths with line and column numbers
  • 📚 Rule Documentation - Direct links to rule docs
  • 📱 Responsive Design - Works on desktop and mobile
  • Zero Runtime Dependencies - Standalone HTML output

📄 License

MIT

About

Generate beautiful HTML reports from oxlint output

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors