Oxlint: High-Performance JavaScript/TypeScript Linter

1.60.0 · active · verified Sun Apr 19

Oxlint is a JavaScript and TypeScript linter, part of the Oxc (Oxidation Compiler) suite, designed for extremely fast performance. It aims to provide a zero-configuration experience, allowing users to quickly integrate it into their projects. The current stable version is 1.60.0, and the project maintains a rapid release cadence, often releasing new minor versions (e.g., 1.58.0, 1.59.0, 1.60.0) and breaking changes at a frequent pace, sometimes weekly or bi-weekly. Key differentiators include its Rust-based implementation for speed and its focus on being an 'ESLint alternative' with built-in rules, avoiding the plugin ecosystem complexity of ESLint. It's intended to be run as a CLI tool.

Common errors

Warnings

Install

Quickstart

Demonstrates how to install Oxlint and integrate it into package.json scripts for linting and auto-fixing a project, as well as one-off usage via npx.

{
  "name": "my-project",
  "version": "1.0.0",
  "description": "A sample project using Oxlint.",
  "main": "index.js",
  "scripts": {
    "lint": "oxlint .",
    "lint:fix": "oxlint . --fix"
  },
  "devDependencies": {
    "oxlint": "^1.60.0"
  }
}

// Run from your terminal:
// npm install oxlint
// npm run lint
// npm run lint:fix

// Or for a quick, temporary check without installation:
// npx --yes oxlint@latest

view raw JSON →