Rust Linter

Open-source Rust projects categorized as Linter

Top 23 Rust Linter Projects

  1. ruff

    An extremely fast Python linter and code formatter, written in Rust.

    Project mention: Python MCP Remote Server — The Dawn of the Streamable HTTP Era ~ With a Minimalist Template Featuring uv / Docker / pytest ~ | dev.to | 2025-05-11

    Ruff: A Rust-based, ultra-fast Python linter and formatter developed by Astral (official website). What's astounding is not just its speed, but its ability to cover most of the checks and formatting previously done by multiple tools like Flake8, isort, pydocstyle, pyupgrade, etc., with Ruff alone. This simplifies configuration files and significantly reduces tool management costs. Ruff hooks are defined in .pre-commit-config.yaml. When you try to commit, static code analysis (detecting potential bugs or deprecated practices) and formatting (unifying coding style) are automatically executed. If issues are found, the commit is aborted, prompting you to fix them. In many cases, Ruff can automatically fix the problems it finds.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. biome

    A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.

    Project mention: 🚀PushForge: Modern Web Push Notifications Made Simple🚀 | dev.to | 2025-04-22

    Biome provides fast, modern formatting and linting:

  4. oxc

    ⚓ A collection of JavaScript tools written in Rust.

    Project mention: React Compiler RC: What it means for React devs | dev.to | 2025-05-05

    The React team is also collaborating with the oxc team to eventually add native support for the compiler. Once Rolldown, a Rust-based bundler for JavaScript and TypeScript, is released and supported in Vite, developers should be able to integrate the compiler without relying on Babel.

  5. static-analysis

    ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.

  6. ast-grep

    ⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

    Project mention: Using ast-grep with a vue project | dev.to | 2024-12-31

    The amazing ast-grep tool does not support vue and scss by default but can be configured to do so.

  7. gritql

    GritQL is a query language for searching, linting, and modifying code.

    Project mention: Glamorous Toolkit | news.ycombinator.com | 2025-04-06
  8. rslint

    A (WIP) Extremely fast JavaScript and TypeScript linter and Rust crate

    Project mention: ESLint adoption guide: Overview, examples, and alternatives | dev.to | 2024-08-08

    A relatively new entrant, RSLint focuses on providing a zero-config linting tool. It is in early development and not ready for production. The last release is from 2022, so it’s unclear if development is still active.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. qlty

    Qlty CLI: Universal linting, formatting, maintainability, security scanning, and metrics

    Project mention: Dockerfmt: A Dockerfile Formatter | news.ycombinator.com | 2025-04-08

    It's great to see auto-formatting continuing to become universal across all languages. As LLMs write more code, full auto-formatting helps keep diffs clean.

    For anyone looking to try dockerfmt, I just added a plugin to Qlty CLI, which is available in v0.508.0. The plugin took about ten minutes to add: https://github.com/qltysh/qlty/blob/main/qlty-plugins/plugin...

    Full disclosure: I'm the founder of Qlty, which produces a universal code linter and formatter, Qlty CLI (https://github.com/qltysh/qlty). It is completely free and published under a Fair Source license.

  11. dotenv-linter

    ⚡️Lightning-fast linter for .env files. Written in Rust 🦀

  12. syncpack

    Consistent dependency versions in large JavaScript Monorepos.

  13. squawk

    🐘 Linter for Postgres migrations & SQL

    Project mention: Postgres Language Server: Initial Release | dev.to | 2025-04-01

    Our linter is heavily inspired by Squawk. It takes the AST emitted by libpg_query and runs all configured rules on them. We spent some time optimizing the infrastructure of the linter in order to lower the barrier of contributing new rules and ask that the community can support us there.

  14. statix

    lints and suggestions for the nix programming language

  15. svlint

    SystemVerilog linter

  16. funzzy

    A lightweight blazingly fast file watcher.

  17. tagref

    Tagref helps you manage cross-references in your code.

  18. lintje

    Lintje is an opinionated linter for Git.

  19. toolbox

    Repository Code Quality Tool (by trunk-io)

    Project mention: Ask HN: Who is hiring? (September 2024) | news.ycombinator.com | 2024-09-02

    Trunk | https://trunk.io | Senior Data Engineer / DevRel Engineer| Full-Time | Hybrid SF or Remote US or Canada

    Trunk is an a16z funded dev tools startup, redefining software development at scale. We aim to solve problems that developers hate by bringing the tools usually built in-house at the best engineering orgs to every development team. We've built three products so far and have plans for more:

      * Code Quality: a universal linter/formatter, available as a CLI, VSCode extension, and CI check;

  20. git-sumi

    The non-opinionated Rust-based commit message linter.

    Project mention: Git-cliff – Generate changelog from the Git history | news.ycombinator.com | 2024-06-27

    I use git-cliff for my personal projects. If you follow conventional commits and squash merges, you get a clear, user-friendly changelog—it's easy to "skip" commits that don't affect the end user.

    I wrote a tool to validate commits, which helps ensure both the git history and changelog look clean: https://github.com/welpo/git-sumi

  21. prometheus-parser-rs

    a Rust library for parsing and validating Prometheus query expressions

  22. lintspec

    A blazingly fast linter for NatSpec comments in Solidity code

    Project mention: Show HN: Lintspec, a Solidity NatSpec Linter | news.ycombinator.com | 2025-02-27
  23. constant_sandbox

    Tool for ruby codebases used to enforce boundaries and modularize Rails applications

  24. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Linter discussion

Log in or Post with

Rust Linter related posts

  • Ty: Astral's New Type Checker (Formerly Red-Knot) – Talk Python Live Stream [video]

    1 project | news.ycombinator.com | 6 May 2025
  • Mastering Python Project Management with uv: Part 4 — CI/CD & Docker

    2 projects | dev.to | 10 Apr 2025
  • Postgres Language Server: Initial Release

    8 projects | dev.to | 1 Apr 2025
  • Boost Your Django Docker Images by using UV package and project manager

    2 projects | dev.to | 30 Mar 2025
  • Biomejs

    1 project | dev.to | 3 Mar 2025
  • Rust Is Eating JavaScript

    3 projects | news.ycombinator.com | 16 Feb 2025
  • A collection of JavaScript tools written in Rust

    1 project | news.ycombinator.com | 20 Jan 2025
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 16 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Linter projects in Rust? This list will help you:

# Project Stars
1 ruff 38,922
2 biome 18,802
3 oxc 14,449
4 static-analysis 13,796
5 ast-grep 8,636
6 gritql 3,776
7 rslint 2,684
8 qlty 2,635
9 dotenv-linter 1,921
10 syncpack 1,653
11 squawk 734
12 statix 648
13 svlint 343
14 funzzy 274
15 tagref 204
16 hyperlink 191
17 cargo-deadlinks 155
18 lintje 30
19 toolbox 28
20 git-sumi 22
21 prometheus-parser-rs 16
22 lintspec 8
23 constant_sandbox 4

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com