For AI agents: the complete documentation index is available at https://gabrielcsapo.github.io/lintrs/llms.txt, the full documentation bundle is available at https://gabrielcsapo.github.io/lintrs/llms-full.txt, and this page is available as Markdown at https://gabrielcsapo.github.io/lintrs/guide/introduction.md.

Introduction

lintrs runs the rules in your eslint.config.mjs on a different engine:

StageEngine
Parseoxc, once per file, in Rust
Rulesoxlint's JS-plugin rule host; ESLint-compatible rules run unchanged
Typesa pinned tsrs checker (a Rust port of the TypeScript 7 compiler) with lintrs' extensions
ReportsRust, with ESLint semantics: eslint-disable, unix/JSON output, exit codes

lintrs ships no rules. Every diagnostic comes from a rule your config enables. You can also write rules in Rust.

Experimental

Parity with ESLint is incomplete. See Limitations.

Compared with

  • ESLint: same config, rules and semantics. Any behavior difference is a parity gap.
  • oxlint's JS plugins: oxlint 1.83.0 gives JS-plugin rules an empty parserServices. lintrs gives them typed, @typescript-eslint-compatible parserServices, so rules like no-floating-promises work.