oxlint-html-reporter
v1.2.0
Published
Generate beautiful HTML reports from oxlint output
Maintainers
Readme
📦 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-htmlFrom 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.htmlPipe 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
