Oxc vs typescript-eslint
Which should you use? A side-by-side look at what each one does, who it suits, what it costs, how hard it is to set up, and where each falls short.
Open source · MIT
Fast JavaScript and TypeScript tools (parser, linter, formatter, minifier) written in Rust.
Open source · MIT
Tools that let ESLint check TypeScript code, as a monorepo of packages.
The short answer
Choose Oxc if you need…
- Developers who want to lint a JavaScript or TypeScript project quickly
- Teams building their own JavaScript build tooling who need a parser or resolver
- Projects already using or considering Vite or Rolldown
Choose typescript-eslint if you need…
- JavaScript and TypeScript developers who already use ESLint
- Teams that want consistent code checks across a TypeScript codebase
- Projects that want TypeScript-aware lint rules
Side-by-side
| Oxc | typescript-eslint | |
|---|---|---|
| Type | Dev tool | Dev tool |
| Price | Free and open source | Free and open source |
| Licence | MIT | MIT |
| GitHub stars | 23.3k | 16.5k |
| Setup difficulty | Beginner | Intermediate |
| How you get it | Install with a package manager | Install with a package manager |
| Main language | Rust | TypeScript |
| Last code update | 4 days ago | 5 days ago |
What each one is
Oxc
Oxc is a collection of tools for working with JavaScript and TypeScript code, written in Rust. It includes a linter (Oxlint), a formatter (Oxfmt), and building blocks such as a parser, transformer, minifier, and module resolver. The README says it is designed for speed and is used by build tools such as Rolldown, the bundler behind Vite.
typescript-eslint
typescript-eslint is a set of packages that let ESLint, a popular linter for JavaScript, understand and check TypeScript code. It provides a parser, plugin rules, and shared configuration so teams can catch problems and enforce style in TypeScript projects. The README describes it as static analysis, meaning code is checked without being run.
Best for
Oxc
- Developers who want to lint a JavaScript or TypeScript project quickly
- Teams building their own JavaScript build tooling who need a parser or resolver
- Projects already using or considering Vite or Rolldown
typescript-eslint
- JavaScript and TypeScript developers who already use ESLint
- Teams that want consistent code checks across a TypeScript codebase
- Projects that want TypeScript-aware lint rules
Strengths
Oxc
- Written in Rust, and the README positions it around high performance
- Covers several steps of the JavaScript toolchain (lint, format, parse, transform, minify, resolve) under one project
- Released under the permissive MIT license
typescript-eslint
- Brings ESLint's rule system to TypeScript code
- Is an active project with frequent releases and an MIT license
- Has official documentation on a dedicated website
Not ideal for
Oxc
- People who need a fully documented, stable plugin ecosystem, since the README does not describe one
- Non-developers, since the tools run on code and require a command line
- Teams that need features the README does not mention, because the README is short on feature details
typescript-eslint
- Projects that do not use TypeScript or ESLint, since the tools only extend ESLint
- Users looking for a standalone app with a graphical interface, since this is a set of developer packages
Trade-offs
Oxc
- The README is truncated and gives few details on features, configuration, or compatibility
- Built on top of a fast-moving toolchain, so APIs and behavior may change between releases
- Benchmarks and performance claims are linked to external docs rather than shown in the README
typescript-eslint
- Setup depends on matching versions of ESLint and TypeScript, which the README does not detail here
- Documentation is split between the latest release and a canary version
Getting started
Oxc
Lint a codebase with Oxlint
npx oxlint@latestFormat a codebase with Oxfmt
npx oxfmt@latesttypescript-eslint
Clone the repository
git clone https://github.com/typescript-eslint/typescript-eslintFrequently asked questions
What is the difference between Oxc and typescript-eslint?
Oxc: Fast JavaScript and TypeScript tools (parser, linter, formatter, minifier) written in Rust. typescript-eslint: Tools that let ESLint check TypeScript code, as a monorepo of packages. Oxc suits developers who want to lint a javascript or typescript project quickly, while typescript-eslint suits javascript and typescript developers who already use eslint.
Are Oxc and typescript-eslint free?
Oxc: Free and open source. typescript-eslint: Free and open source.
Which is easier to set up, Oxc or typescript-eslint?
Oxc is easier to get started with (rated beginner); typescript-eslint is rated intermediate and usually needs more setup.
Is Oxc or typescript-eslint more popular?
Oxc has more GitHub stars (23.3k) than typescript-eslint (16.5k). Popularity isn't the same as fit — check which one matches your use case above.
What are other alternatives to Oxc and typescript-eslint?
Other options people compare them with include ESLint, Prettier, esbuild.
Keep comparing
Built from our catalogue entries for both products: open-source details come from each project's README (AI-assisted, refreshed weekly) and GitHub data; AI-tool details are editorial. Spotted something wrong? Let us know from either product's page.