Deploy & Ops
Use when adding oxlint to a JS/TS project as a fast pre-commit and CI gate. Covers config, an autofix pass, the errors-must-be-zero and warnings-advisory split, and how it coexists with a type gate rather than replacing it. Also use when lint is slow enough that people skip it, or CI is failing on advisory warnings. If lint needs to be fast and honest, use this skill.
1 file
Description
Use when adding oxlint to a JS/TS project as a fast pre-commit and CI gate. Covers config, an autofix pass, the errors-must-be-zero and warnings-advisory split, and how it coexists with a type gate rather than replacing it. Also use when lint is slow enough that people skip it, or CI is failing on advisory warnings. If lint needs to be fast and honest, use this skill.
A project where ESLint is too slow to run on every commit, or you want a sub-second lint pass that gates pushes without waiting on a full typecheck.
Oxlint is written in Rust and runs a large rule set in a fraction of ESLint's time, so it is cheap enough to run on every commit. It does not replace your type gate; it catches a different, faster class of issue (unused vars, obvious mistakes, correctness lints).
Add the scripts:
{ "scripts": { "lint:ox": "oxlint", "lint:ox:fix": "oxlint --fix" } }
Configure rules in .oxlintrc.json at the repo root. Start from the recommended set and tighten from there.
Adopt the rule: pnpm lint:ox must report zero errors before a commit. Warnings are advisory, not blocking, so the signal-to-noise stays high and a red error always means something.
Run pnpm lint:ox:fix to auto-apply the safe fixes, then review the diff before committing.
lint:ox (fast, zero errors).tsc --noEmit or the native preview) plus the build. Oxlint is not a type checker; keep both.--fix and committing without reading the diff can apply an unwanted change. Review autofixes..oxlintrc.json runs a minimal rule set and quietly under-lints. Commit an explicit config.Related
Added 2026-07-01. Back to the Skill Library.

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.