State of linting in Rust?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • egui

    egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

  • In the egui demo source files libs.rs , I see a long list of what appears to be linting flags:

  • ESLint

    Find and fix problems in your JavaScript code.

  • I've always been big fan of eslint, with its plugin system and configurable rules. Eslint makes both importing, writing, and configuring static analysis lints easy. Does clippy aim to function in a similar way to eslint, or is it headed in a different direction?

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

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

  • And, yes, clippy is kind of standard linter for Rust. Check its capabilities, flags, usages etc here: https://github.com/rust-lang/rust-clippy

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts