Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression. Learn more →
Top 16 Rust Linter Projects
-
Project mention: Rome v12.1: a Rust-based linter formatter for TypeScript, JSX and JSON | news.ycombinator.com | 2023-05-13
For now, Rome implements most of the ESLint recommended rules (including TypeScript ESLint) and some additional rules that are enabled by default. In the future, you can expect a recommended preset that is a superset of the ESLint recommended preset. So if you're not heavily customising ESLint, you should be able to use Rome.
Otherwise, most of the rules are not fine-tunable in the way that ESLint is. Rome tries to provide the experience that Prettier provided in the formatting tool: good defaults for a near-zero configuration experience. It tries to adopt the conventions of the JS/TS community. Still, some configuration is provided when the community is divided on some opinions (e.g. space vs. tab indentation, semicolons or as-needed semicolons, ...).
There is an open issue [1] for listing equivalent rules between ESLint and Rome. Expect more documentation in the future, and maybe a migration tool.
If I had been one of the founders of Rome, I could have pushed for more compatibility with ESLint. In particular, using the same naming conventions and thus the same names for most rules, and recognising ESLint ignore comments.
-
Do yourself a favor, forget everything else and just use black+ruff https://github.com/charliermarsh/ruff
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
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: Looking for feedback on our new website for Code Analysis Tools | reddit.com/r/design_critiques | 2023-04-06this is Matthias from https://analysis-tools.dev.
-
-
ast-grep
⚡A fast and polyglot tool for code searching, linting, rewriting at large scale. Written in Rust
Project mention: Semi-Automated Migration of Bevy: an Example with ast-grep | reddit.com/r/rust | 2023-05-20Found some info in the issues, I'll give that approach a try!
-
-
Project mention: GitHub - Boshen/oxc: The JavaScript Oxidation Compiler -> Linter | reddit.com/r/javascript | 2023-03-03
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
As others have mentioned, there are a couple of LSP implementations. There's also statix for basic static analysis, as well as a few formatters, including nixpkgs-fmt and alejandra.
-
-
-
Project mention: SPJ on the note system used in the GHC codebase | reddit.com/r/haskell | 2022-12-08
The GHC notes convention is what inspired me to create Tagref, a tool which enforces basic structural invariants regarding notes: (1) references actually refer to notes which exist, and (2) notes have unique names.
-
-
Project mention: Overview over how hyperlink operates (or: why is it so fast?) | news.ycombinator.com | 2022-06-13
-
Project mention: commitlint VS lintje - a user suggested alternative | libhunt.com/r/commitlint | 2022-09-11
-
Project mention: A Deep Dive into PromQL — Promql Parser v0.1.0 Written in Rust is Now Available | reddit.com/r/rust | 2023-02-23
Interesting. There is one existing parser, that I've used with success https://github.com/HewlettPackard/prometheus-parser-rs . I wonder how they compare.
-
constant_sandbox
Tool for ruby codebases used to enforce boundaries and modularize Rails applications
-
ONLYOFFICE
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
Rust Linter related posts
- Semi-Automated Migration of Bevy: an Example with ast-grep
- Rome v12.1: a Rust-based linter formatter for TypeScript, JSX and JSON
- My first bash script, probably a disaster but apparently usable
- Show HN: AST-grep is AST-base searcher/linter/rewriter
- Rust in Data Science?
- Goodbye to Flake8 and PyLint: faster linting with Ruff
- Looking for feedback on our new website for Code Analysis Tools
-
A note from our sponsor - InfluxDB
www.influxdata.com | 31 May 2023
Index
What are some of the best open-source Linter projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | tools | 23,564 |
2 | ruff | 14,930 |
3 | static-analysis | 11,308 |
4 | rslint | 2,581 |
5 | ast-grep | 2,017 |
6 | dotenv-linter | 1,607 |
7 | oxc | 907 |
8 | statix | 378 |
9 | squawk | 229 |
10 | svlint | 221 |
11 | tagref | 141 |
12 | cargo-deadlinks | 135 |
13 | hyperlink | 107 |
14 | lintje | 26 |
15 | prometheus-parser-rs | 9 |
16 | constant_sandbox | 2 |