Rust MIT

deno_lint

Blazing fast linter for JavaScript and TypeScript written in Rust

D

denoland

Dernière activité 25 sept. 2026
denoland/deno_lint

1,6 k

étoiles

188

forks

167

issues ouvertes

denojavascriptlinterstypescript

Ce README est souvent en anglais.

deno_lint

Discord Chat

A Rust crate for writing JavaScript and TypeScript linters.

This crate powers deno lint, but is not Deno specific and can be used as a standalone crate.

It ships with a set of built-in rules, including a recommended set that is enabled by default and requires no configuration.

Supported rules

The list of available rules and their documentation is hosted at docs.deno.com/lint/rules.

Example

To see how deno_lint is used as a crate, look at how it is integrated in deno.

Developing

Make sure to have the latest stable version of Rust installed, see rust-toolchain.toml.

# check version
$ rustc --version

# build all targets
$ cargo build --all-targets

# test it
$ cargo test

Contributing

  • If you are going to work on an issue, mention so in the issue comments before you start working on the issue.

  • Please be professional in the forums. We follow Rust's code of conduct (CoC).

  • Ask for help in the community chat room.

Submitting a Pull Request

Before submitting, please make sure the following is done:

  1. That there is a related issue and it is referenced in the PR text.
  2. There are tests that cover the changes.
  3. Ensure cargo test passes.
  4. Format your code with deno run --allow-run tools/format.ts.
  5. Make sure deno run --allow-run --allow-env tools/lint.ts passes.
  6. If you've added a new rule, open a PR to denoland/docs with documentation for the rule.

Projets similaires

A modern runtime for JavaScript and TypeScript.

Rustdenojavascriptrust
Ddenoland
108,6 k étoiles6,4 k

High-performance, ESLint-compatible linter for JavaScript and TypeScript.

Gojavascript-linterlinterrstack
Wweb-infra-dev
459 étoiles35

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

Rustlintrust
Rrust-lang
13,5 k étoiles2,2 k