# lintrs > lintrs runs the rules in your existing eslint.config.mjs, typed typescript-eslint rules included, with oxc parsing and a native TypeScript 7 checker. Write your own type-aware lint rules in Rust. ## Documentation - [Introduction](https://gabrielcsapo.github.io/lintrs/guide/introduction.md): lintrs runs the rules in your existing eslint.config.mjs with oxc parsing and a native TypeScript 7 checker, and lets you write type-aware lint rules in Rust. - [Install and run](https://gabrielcsapo.github.io/lintrs/guide/getting-started.md): Install lintrs and lint your project in a minute. - [Configuration](https://gabrielcsapo.github.io/lintrs/guide/configuration.md): lintrs loads a flat config module: eslint.config.mjs in the current directory, or -c . It reads the default export (or the export named by LINTRS_CONFIG_EXPORT). - [Rules](https://gabrielcsapo.github.io/lintrs/guide/rules.md): A rule is a rule. Whether it's written in JavaScript or Rust, it is enabled, configured (severity, options, per-file overrides), suppressed (eslint-disable), and reported exactly the same way — in the same eslint.config.mjs, under the same plugin/rule id convention. - [JavaScript rules](https://gabrielcsapo.github.io/lintrs/guide/js-rules.md): Any ESLint-compatible rule works — builtins, plugin rules, and your own. Typed rules get parserServices compatible with @typescript-eslint (the program, node maps, and a checker proxied to the pinned tsrs checker). - [Rust rules](https://gabrielcsapo.github.io/lintrs/guide/rust-rules.md): Write type-aware lint rules in Rust: implement the lintrs Rule trait, query the TypeScript checker directly, and export rules with export_rules!. - [Packaging Rust rules](https://gabrielcsapo.github.io/lintrs/guide/packaging.md): Wrap a crate's rules with nativePlugin (from @lintrs/cli/native): lintrs loads the prebuilt package for the platform key, else builds crate, else fails. Platform key: `${process.platform}-${process.arch}`, plus -gnu on Linux. The plugin's rules are stubs (meta.lintrs.native: true) that throw under plain ESLint. - [Testing rules](https://gabrielcsapo.github.io/lintrs/guide/testing-rules.md): NativeRuleTester (from @lintrs/cli/native) runs RuleTester-style cases through the real lintrs binary, in a temporary project with a tsconfig and an eslint.config.mjs that imports your plugin. Use it with node:test: Case fields: code, filename, options; invalid cases add errors: { message, line, column, endLine, endColumn } and output (source after fixes). - [CLI](https://gabrielcsapo.github.io/lintrs/reference/cli.md) - [Environment variables](https://gabrielcsapo.github.io/lintrs/reference/env.md) - [Native rules API](https://gabrielcsapo.github.io/lintrs/reference/native-api.md): Rust facade: lintrs::native. JavaScript facade: @lintrs/cli/native. Guide: Writing Rust rules. - [How it works](https://gabrielcsapo.github.io/lintrs/guide/architecture.md): Parsing. oxc parses each file once. The ESTree AST goes to oxlint's rule host; rules run unchanged, with fixes, suggestions, selectors, scopes and code paths. Syntax-only runs create no checker.Types. parserServices holds the program, node maps and a checker proxied to tsrs. Queries batch by node kind per file; caches live until the project's last file.Dependencies. Resolved from prebuilt declarations, not sources. Listing Program.getSourceFiles() filenames fetches no ASTs.Native rules. dlopened libraries link against the shared liblintrs: one copy of lintrs and tsrs, verified by the ABI fingerprint and a probe static.Reporting. JS and Rust diagnostics share one finalize step: eslint-disable, unused directives, --quiet, output. - [Benchmarks](https://gabrielcsapo.github.io/lintrs/benchmarks.md): Measured wall time, peak memory and diagnostic parity for lintrs and ESLint on date-fns, including a custom typed rule written in JS and in Rust. - [Profiling rules](https://gabrielcsapo.github.io/lintrs/guide/profiling.md): See where lint time goes: per-rule timing with ESLint's TIMING variable, split into rule code, the compatibility adapter, type-checker work, the JS/Rust crossing and node-map lookups. - [Limitations](https://gabrielcsapo.github.io/lintrs/guide/limitations.md): What lintrs does not support yet: TypeScript 7 semantics, single-project limits, pinned oxlint internals, native-rule requirements, and why typed JS rules run slower than under ESLint. - [FAQ](https://gabrielcsapo.github.io/lintrs/guide/faq.md) - [Contributing](https://gabrielcsapo.github.io/lintrs/contributing.md)