Oxlint Has a Free JavaScript Linter That Is 50-100x Faster Than ESLint

# oxlint# eslint# javascript# rust
Oxlint Has a Free JavaScript Linter That Is 50-100x Faster Than ESLintAlex Spinov

Oxlint lints your entire codebase in the time ESLint takes to lint one file. Written in Rust, it is...

Oxlint lints your entire codebase in the time ESLint takes to lint one file. Written in Rust, it is the fastest JavaScript/TypeScript linter ever built.

Speed Comparison

# Lint a large project (10,000 files)
eslint: 45 seconds
biome:  0.8 seconds
oxlint: 0.4 seconds  # 100x faster than ESLint
Enter fullscreen mode Exit fullscreen mode

Oxlint is 50-100x faster than ESLint and 2x faster than Biome for linting.

Setup

npm install oxlint
npx oxlint@latest
Enter fullscreen mode Exit fullscreen mode

No config file needed. Runs with sensible defaults immediately.

What It Catches

Oxlint includes 400+ rules from:

  • ESLint core rules
  • typescript-eslint rules
  • eslint-plugin-react
  • eslint-plugin-react-hooks
  • eslint-plugin-jsx-a11y
  • eslint-plugin-import
  • eslint-plugin-unicorn
  • eslint-plugin-jest
  • eslint-plugin-vitest
  • eslint-plugin-promise
  • eslint-plugin-n (Node.js)

All built-in. Zero plugins to install.

Configuration

// .oxlintrc.json
{
  "rules": {
    "no-unused-vars": "warn",
    "no-console": "off",
    "eqeqeq": "error",
    "no-var": "error",
    "prefer-const": "warn",
    "react-hooks/exhaustive-deps": "warn"
  },
  "env": {
    "browser": true,
    "node": true
  },
  "globals": {
    "process": "readonly"
  }
}
Enter fullscreen mode Exit fullscreen mode

Use with ESLint (Gradual Migration)

Oxlint can run alongside ESLint:

# Run oxlint first (fast), then ESLint for remaining rules
npx oxlint && npx eslint .
Enter fullscreen mode Exit fullscreen mode

The eslint-plugin-oxlint automatically disables ESLint rules that oxlint covers:

npm install eslint-plugin-oxlint
Enter fullscreen mode Exit fullscreen mode
// eslint.config.js
import oxlint from "eslint-plugin-oxlint";

export default [
  ...oxlint.configs["flat/recommended"],
  // Your other ESLint rules
];
Enter fullscreen mode Exit fullscreen mode

This way:

  1. Oxlint handles 400+ rules (instant)
  2. ESLint handles remaining custom rules
  3. No duplicate warnings

VS Code Integration

Install the "oxc" extension for real-time linting in your editor.

Part of the Oxc Toolchain

Oxlint is part of Oxc (Oxidation Compiler):

  • Oxlint — Linter (50-100x faster than ESLint)
  • Oxc Parser — JS/TS parser (3x faster than SWC)
  • Oxc Transformer — TypeScript/JSX transform
  • Oxc Resolver — Module resolver
  • Oxc Minifier — Code minifier (coming)

All written in Rust, all focused on speed.

When to Use Oxlint vs Biome

Oxlint: Fastest linter. Use alongside ESLint for gradual migration.
Biome: Linter + formatter. Use to replace both ESLint AND Prettier.


Need fast developer tooling? I build web tools and data solutions. Email spinov001@gmail.com or check my Apify tools.