Lint JavaScript/TypeScript at blazing speed with oxlint — a Rust-based linter 50-100x faster than ESLint. Use when someone asks to "speed up linting", "oxlint", "fast JavaScript linter", "replace ESLint", "Rust linter for JS", or "lint in CI faster". Covers rule configuration, ESLint migration, framework plugins, and CI integration.
oxlint is a JavaScript/TypeScript linter written in Rust — 50-100x faster than ESLint. It runs without Node.js, handles thousands of files in milliseconds, and implements the most common ESLint rules (correctness, suspicious, pedantic). Use it alongside ESLint (for rules oxlint doesn't cover yet) or as a standalone fast linter for CI.
# Install
npm install -D oxlint
# Or standalone binary via Homebrew (no Node.js needed)
brew install oxlint
# Lint entire project
npx oxlint .
# Lint specific files/directories
npx oxlint src/
# Fix auto-fixable issues
npx oxlint --fix src/
# Specific rule categories
npx oxlint --deny-warnings -D correctness -D suspicious .
// .oxlintrc.json — Rule configuration
{
"rules": {
"no-unused-vars": "warn",
"no-console": "warn",
"eqeqeq": "error",
"no-var": "error",
"prefer-const": "warn",
"no-debugger": "error"
},
"plugins": ["typescript", "react", "import"],
"categories": {
"correctness": "error",
"suspicious": "warn",
"pedantic": "off"
},
"ignorePatterns": ["dist/", "node_modules/", "*.config.*"]
}
// package.json — Run oxlint first (fast), then ESLint (thorough)
{
"scripts": {
"lint": "oxlint . && eslint .",
"lint:fast": "oxlint ."
}
}
# In eslint.config.js — disable rules that oxlint covers
# eslint-plugin-oxlint does this automatically
npm install -D eslint-plugin-oxlint
// eslint.config.js
import oxlint from "eslint-plugin-oxlint";
export default [
// Your ESLint config...
oxlint.configs["flat/recommended"], // Disables ESLint rules covered by oxlint
];
# .github/workflows/lint.yml
name: Lint
on: [pull_request]
jobs:
oxlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oxc-project/oxlint-action@v0
with:
deny-warnings: true
# With lint-staged (runs in ~100ms even on large projects)
npm install -D lint-staged
# .lintstagedrc
{
"*.{ts,tsx,js,jsx}": "oxlint --fix"
}
User prompt: "Our ESLint step takes 45 seconds in CI. Make it faster."
The agent will add oxlint for fast first-pass linting, disable overlapping ESLint rules with eslint-plugin-oxlint, and parallelize the remaining ESLint checks.
User prompt: "Set up linting for my TypeScript project. I want it fast."
The agent will configure oxlint with correctness + suspicious rules, add pre-commit hooks with lint-staged, and set up CI with the oxlint GitHub Action.
eslint-plugin-oxlint — prevents duplicate rule checking--fix for auto-fixes — works for many rulesnpx skills add TerminalSkills/oxlint下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer