librarydev toolsopen source
@cloudflare/oxlint-config
Cloudflare's shared Oxlint preset for JavaScript and TypeScript. Built on the nkzw config, it adds strict type-aware rules for type safety, promise handling and type-only imports, running on tsrs.
Cloudflare says it was inspired by Dillon Mulroy's anti-slop rules. Install it with npm install -D @cloudflare/oxlint-config oxlint tsrs, then extend it from oxlint.config.ts and run oxlint .. Projects on Vite+ import @cloudflare/oxlint-config/vite-plus instead and run vp lint. Type-aware checks use tsrs as the backend.
Every enabled rule is an error, and Oxlint's category defaults stay off, so an Oxlint upgrade can't turn on new rules silently. It bans @ts-ignore, needs a description on @ts-expect-error, reports promise-returning callbacks where void is expected, and makes empty interfaces, eval and console calls errors. Test files relax a few unsafe-type rules.
For existing codebases the README describes a migration: adopt the preset with failing rules off, then enable one rule per commit. The package ships a migrate-oxlint-config agent skill with that workflow.
#typescript#agents#performance
related
- screen-relayVercel Labs experiment that streams a desktop to the browser as H.264 at up to 120 fps and lets agents control it from a CLI, a Node SDK or an HTTP and WebSocket API.tool
- WordsStreaming Markdown renderer from The Pierre Computer Co., written in WebAssembly Text and built for rendering LLM responses as they stream in.library
- LandminesOxlint plugins from Interfere that block the shortcuts coding agents take to turn CI green, like mocking the code under test, fixed sleeps and test retries.library
- KacheContent-addressed compiler cache for Rust, C/C++ and CUDA that reuses build outputs across git worktrees and CI runs, sharing disk blocks with the cache on copy-on-write filesystems.tool