Rust Linter

Open-source Rust projects categorized as Linter

Top 17 Rust Linter Projects

  • ruff

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

  • Project mention: Ask HN: High quality Python scripts or small libraries to learn from | news.ycombinator.com | 2024-04-19

    I think I mention this all the time when this comes up, but I learned the most 'best practices' through using ruff.

    https://docs.astral.sh/ruff/

    I just installed and enabled all the rules by setting

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

  • 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
  • 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: Fast, Declarative, Reproduble and Composable Developer Environments Using Nix | news.ycombinator.com | 2024-04-12
  • oxc

    ⚓ A collection of JavaScript tools written in Rust.

  • Project mention: The JavaScript Oxidation Compiler | news.ycombinator.com | 2023-12-16
  • ast-grep

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

  • Project mention: AST-grep(sg) AST grep based on Treesitter | news.ycombinator.com | 2024-04-01
  • rslint

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

  • gritql

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

  • Project mention: ClangQL: A tool to run SQL-like query on C/C++ Code | news.ycombinator.com | 2024-04-07

    Cool to see another query language for source code! Yours is definitely closer to SQL than GritQL is.[0] I particularly like the count semantics.

    [0] https://github.com/getgrit/gritql

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • dotenv-linter

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

  • statix

    lints and suggestions for the nix programming language

  • squawk

    🐘 linter for PostgreSQL, focused on migrations

  • Project mention: Postgres Language Server: Implementing the Parser | news.ycombinator.com | 2023-12-08

    that is definitely the goal, both a formatter and a linter. we want to add something like squawk directly to the language server, so you get eslint-like dx. with the ast and the database schema in the data model, you can basically add any rule you like.

    [0] https://github.com/sbdchd/squawk/tree/master

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

  • tagref

    Tagref helps you manage cross-references in your code.

  • lintje

    Lintje is an opinionated linter for Git.

  • 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). The latest post mention was on 2024-04-19.

Rust Linter related posts

Index

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

Project Stars
1 ruff 26,234
2 static-analysis 12,811
3 biome 9,966
4 oxc 8,812
5 ast-grep 5,805
6 rslint 2,661
7 gritql 2,229
8 dotenv-linter 1,751
9 statix 501
10 squawk 450
11 svlint 278
12 tagref 168
13 hyperlink 158
14 cargo-deadlinks 143
15 lintje 30
16 prometheus-parser-rs 12
17 constant_sandbox 2
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com