Rust Linter

Open-source Rust projects categorized as Linter

Top 20 Rust Linter Projects

  • ruff

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

    Project mention: Integrating the ruff language server | dev.to | 2024-07-15

    I want to add linting capabilities to Satyrn (a Jupyter notebook client application I'm working on), so I looked into integrating ruff, a python linting and code formatting tool. This tool follows the Language Server Protocol, so as long as I can figure out how to follow that protocol, I should be able to use it in my app.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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.

    Project mention: Static Analysis Tools for C | news.ycombinator.com | 2023-10-26

    Readers should also peruse the 'Multiple languages' section, many of the big names, Coverity, Klocwork et al. are listed there.

    see https://github.com/analysis-tools-dev/static-analysis#multip...

  • 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: Let's make a custom, AI generated React component based on user data! | dev.to | 2024-06-26

    Leave the default settings, except for Eslint, because we will use something else instead. We will be using Biomejs instead of Tailwind and Prettier, even if the automatic Tailwind class sorting is not yet fully resolved.

  • oxc

    ⚓ A collection of JavaScript tools written in Rust.

    Project mention: Mako – fast, production-grade web bundler based on Rust | news.ycombinator.com | 2024-07-02
  • ast-grep

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

    Project mention: amber, a code search & replace tool | news.ycombinator.com | 2024-05-23

    ast-grep is based on tree-sitter parsers and most of the time is spent on parsing.

    There is some optimization to [skip parsing](https://github.com/ast-grep/ast-grep/blob/9f8ed5fb2abf35d928...) but generally I don't expect ast-grep can beat ripgrep or amber. (but sometimes ast-grep can beat grep due to parallel processing)

  • gritql

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

    Project mention: Slack Combines ASTs with LLMs to Automatically Convert 80% of 15,000 Unit Tests | news.ycombinator.com | 2024-06-19
  • rslint

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

  • SaaSHub

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

    SaaSHub logo
  • dotenv-linter

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

  • squawk

    🐘 linter for PostgreSQL, focused on migrations

    Project mention: Squawk – A Linter for Postgres Migrations | news.ycombinator.com | 2024-04-30
  • statix

    lints and suggestions for the nix programming language

  • svlint

    SystemVerilog linter

    Project mention: Veryl: A Modern Hardware Description Language | news.ycombinator.com | 2024-03-12

    https://github.com/dalance/svlint

    After writing it, I felt that more improvement is difficult because the specification of SystemVerilog is too complicated.

  • funzzy

    A lightweight blazingly fast file watcher.

  • tagref

    Tagref helps you manage cross-references in your code.

  • lintje

    Lintje is an opinionated linter for Git.

  • toolbox

    Repository Code Quality Tool (by trunk-io)

    Project mention: FIXME Please: An Exercise in TODO Linters | dev.to | 2024-07-11

    trunk-toolbox is our open-source homegrown linter Swiss Army knife. It supports a few different rules, including searching for TODO and FIXME. It works on all file types and is available just by running trunk check enable trunk-toolbox.

  • 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

  • prometheus-parser-rs

    a Rust library for parsing and validating Prometheus query expressions

  • constant_sandbox

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

  • 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

  • Slack Combines ASTs with LLMs to Automatically Convert 80% of 15,000 Unit Tests

    1 project | news.ycombinator.com | 19 Jun 2024
  • ast-grep got 6000 stars!

    2 projects | dev.to | 18 May 2024
  • Ruff: The Extensible Python Linter

    1 project | dev.to | 7 May 2024
  • Ask HN: I have been unable to land a job in two years, does anybody

    1 project | news.ycombinator.com | 3 May 2024
  • Squawk – A Linter for Postgres Migrations

    1 project | news.ycombinator.com | 30 Apr 2024
  • Migrate to React 19 with ast-grep

    2 projects | dev.to | 28 Apr 2024
  • Biome – fast JavaScript linter and formatter

    1 project | news.ycombinator.com | 8 Apr 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Jul 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 ruff 28,897
2 static-analysis 13,071
3 biome 12,734
4 oxc 9,781
5 ast-grep 6,471
6 gritql 2,774
7 rslint 2,673
8 dotenv-linter 1,785
9 squawk 546
10 statix 539
11 svlint 295
12 funzzy 226
13 hyperlink 171
14 tagref 171
15 cargo-deadlinks 146
16 lintje 30
17 toolbox 25
18 git-sumi 14
19 prometheus-parser-rs 12
20 constant_sandbox 4

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?