Skip to main content

OXC Lint Config Generator

Build oxlint.json configs for the OXC Rust linter — 50-100x faster than ESLint. Toggle rules by category, enable plugins, and configure environments. Copy the result directly into your project.

✓ 4 rule categories ✓ React/TS/Unicorn plugins ✓ Environment toggles

Frequently Asked Questions

What is OXC and oxlint?▼

OXC (Oxidation Compiler) is a Rust-powered JavaScript/TypeScript toolchain. oxlint is its linter — written in Rust, it runs 50-100x faster than ESLint. oxlint focuses on correctness and best practice rules with minimal configuration. It's designed to be a drop-in partial replacement for ESLint, handling the most impactful rules while being easy to adopt incrementally.

How do I install and run oxlint?▼

Install: npm install --save-dev oxlint (or use npx oxlint directly). Run: npx oxlint src/. By default, oxlint runs all correctness rules — no config required. For customization, create an oxlint.json in your project root. Add a script to package.json: "lint:ox": "oxlint src/". oxlint also integrates with VS Code via the OXC extension.

What is the difference between oxlint and ESLint?▼

oxlint is a fast Rust linter focused on correctness rules — no formatting, no import sorting. ESLint is a JavaScript linter with a massive plugin ecosystem but is significantly slower. The recommended approach: use oxlint for fast correctness/best-practice checks (catches most real bugs), and ESLint only for rules oxlint doesn't support yet. oxlint includes an ESLint compatibility layer for gradual migration.

What rule categories does oxlint support?▼

oxlint groups rules into: correctness (code that is definitely wrong or likely buggy), suspicious (patterns that might be bugs), pedantic (strict best practices), style (code style preferences), restriction (rules that prohibit certain patterns), and nursery (new rules in development). correctness rules are enabled by default. Run oxlint --list-rules to see all available rules.

How do I configure plugins in oxlint?▼

oxlint supports plugins for ecosystem-specific rules. Enable plugins in oxlint.json: { "plugins": ["import", "react", "unicorn", "typescript"] }. Each plugin adds relevant rules — the react plugin checks React hooks and JSX patterns, typescript plugin checks TypeScript-specific issues, unicorn adds opinionated modern JavaScript rules. Plugin rules follow the same off/warn/error severity system.

Can I use oxlint with ESLint together?▼

Yes. eslint-plugin-oxlint provides an ESLint config that disables all ESLint rules already covered by oxlint, preventing duplicate reports. Install: npm install --save-dev eslint-plugin-oxlint. Add to eslint.config.js: import oxlint from 'eslint-plugin-oxlint'; and spread oxlint.configs['flat/all'] in your config array. This setup runs oxlint first (fast pass) then ESLint for remaining rules.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →