oxlint-config 3.0 ships type-aware linting by default, tuned to cut AI agent mistakes
cnakazawa · x · 2026-11-18
cnakazawa released @nkzw/oxlint-config 3.0, a lint setup optimized for reducing mistakes by AI coding agents in JS projects.
- Type-aware linting on by default (via tsrs): catches floating Promises, missing await in conditions, and numeric sorts without a comparator. Unused suppressions are errors, and @ts-expect-error requires a description.
- 12 new quality rules adapted from dmmulroy's anti-slop rules, detecting patterns like widening a known value to unknown just to cast it back, chained type assertions, and copying an accumulator on every reducer pass.
- Performance: the 12 quality rules got faster — 662ms → 449ms across 2,160 Athena Crisis files, 188ms → 162ms on Pocket Folio.
- Sorting is now opt-in via @nkzw/oxlint-config/with-sorting.
- Upgrade path: install oxlint 1.94+ and tsrs; for large codebases, commit a baseline first and enable one new rule per commit for easy review.
More from coding & agent
- Microsoft's Autopilot Agent Is Built on OpenClaw, Now in Preview for Frontier Customers — pswider · 2026-11-18
- SimplePost Gives ChatGPT and Claude a Publishing Button for 10 Social Networks — haltakov · 2026-11-18
- One set of Obsidian notes feeds Claude Code, Codex and Gemini alike — dSebastien · 2026-11-18
- Obsidian Starter Kit gives Claude Code, Codex and Gemini the same persistent context — dSebastien · 2026-11-18
- AI tools start from zero at every prompt — the missing piece is persistent context — dSebastien · 2026-11-18
- 27 vibe-coded Finder clones appeared in a month, most already dead — KaKi_87 · 2026-11-18