cd /news/developer-tools/faster-type-aware-linting-with-tsrs · home › topics › developer-tools › article
[ARTICLE · art-171483] src=oxc.rs ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Faster type-aware linting with tsrs

Oxlint added tsrs, the Rust port of TypeScript announced by Cloudflare and VoidZero in October, as an alternative backend to tsgolint for type-aware linting, delivering up to 7x faster runs and a 75% reduction in memory when typechecking and type-aware linting share a single TypeScript analysis. The tsrs npm package implements all 61 rules in tsgolint v7.0.2007 and works as a drop-in replacement through Oxlint's existing CLI and configuration, with Cloudflare, Owner.com and OpenAI teams already using it. Against typescript-eslint alone tsrs is up to 98x faster with up to 82% lower peak memory, and against running typescript-eslint and tsc separately, Oxlint with tsrs is up to 122x faster.

key takeaway

Swapping Oxlint's type-aware backend to the tsrs npm package runs all 61 tsgolint v7.0.2007 rules as a drop-in replacement and, by sharing one TypeScript analysis for typechecking and linting, cuts time up to 7x and memory up to 75%.

read3 min views10 publishedNov 18, 2026
Faster type-aware linting with tsrs
Image: source

We’re adding tsrs as an alternative to tsgolint for type-aware linting in Oxlint. It’s the Rust port of TypeScript announced by Cloudflare and VoidZero in October. Teams at Cloudflare, Owner.com and OpenAI are already using it for type-aware linting.

Our goal is to make Oxlint the best possible linter for developers and agents. tsrs enables up to 7x faster and a 75% reduction in memory, shortening feedback loops in editors, CI, and agent workflows.

The new backend comes with the tsrs npm package and works through Oxlint’s existing CLI and configuration. It can be used as a drop-in replacement for a project that already uses Oxlint’s type-aware linting.

Performance #

tsrs delivers up to 5× the speed of tsgolint v7.0.2007, with memory reductions of around 70%.

Compared with typescript-eslint, the gap is even larger. tsrs is up to 98× faster, with a reduction of up to 82% in peak memory.

With tsrs inside Oxlint, you can run typechecking and type-aware linting through a single TypeScript analysis and avoid doing the same work twice. This way, the largest speedup grows to 7×, with memory reductions of up to 75%.

Compared with running typescript-eslint and tsc separately, Oxlint with tsrs is up to 122× faster, with a reduction of up to 82% in peak memory.

Fast mode is enabled by default, it adapts checker counts, groups related work, enables additional caches and memory optimizations to improve performance.

Compatibility #

tsrs implements all 61 rules present in tsgolint v7.0.2007. The goal is to preserve the same configuration options, diagnostics, fixes, and suggestions, so existing projects can switch with minimal effort.

Try it #

If you are using Vite+:

$ vp upgrade # since v1.7.0
$ vp check # or vp lint

If you are using Oxlint directly, upgrade to the latest versions of Oxlint and tsrs. Once installed, Oxlint will automatically use tsrs for type-aware linting and typechecking.

$ pnpm i -D oxlint tsrs
$ pnpx oxlint --type-aware

You can also request typechecking diagnostics alongside lint results:

$ pnpx oxlint --type-aware --type-check

If type-aware linting is already enabled through options.typeAware, you can continue using your usual lint command.

Feedback #

Try tsrs type-aware linting as a drop-in replacement for tsgolint on a project, and let us know how it compares. Please report any differences in output, fixes, runtime, or memory to help us work to a more stable release. Join the Oxc Discord to stay up to date on the latest changes.

What’s next? #

Bringing tsrs to Oxlint is another step toward a faster, more integrated JavaScript and TypeScript toolchain. With both tools written in Rust, we have more room to explore deeper integration, reduce duplicated work, and improve performance and memory use across linting and typechecking.

We have tried tsrs and tsrs lint on a large variety of projects and will continue to improve compatibility and stability. We’ll keep following upstream TypeScript and tsgolint, closing gaps, and looking for further optimizations. For developers and agents alike, the goal is the same: make thorough checks fast enough to run after every change.

Acknowledgements #

Thank you to Max Schwenk for creating tsrs, the TypeScript team for their continued support and collaboration, and all of our contributors.

── more in #developer-tools 4 stories · sorted by recency
── more on @oxlint 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/faster-type-aware-li…] indexed:0 read:3min 2026-11-18 · —