-
### What it does
Detect `assert!(a == b)` and `assert!(a != b)` and suggest using `assert_eq!` or `assert_ne!` respectively.
Should probably apply to `debug_assert!` as well.
### Advantage
- The s…
Reisz updated
2 weeks ago
-
Thanks to @martin-east for bringing up this topic.
**Description**
The lint `avoid_types_as_parameter_names` will report situations where a formal parameter declaration in a function or type ali…
-
See [the project board](https://github.com/orgs/TheBevyFlock/projects/3) for a definitive list, along with what lints go in what categories. As of writing this, the categories are:
- Correctness
-…
-
**Problem**
I am trying to package async-std crates for Fedora and that includes running tests for them. I learned that they fail because `#![feature(async_await)]` is used. We are passing `--c…
-
### Summary
`clippy::mutex_integer` lints on usages as well as definitions, which seems redundant (and could be unactionable if this happens cross-crate).
### Reproducer
I tried this code ([playgro…
-
We want to enable the following lints:
- [ ] `rust.elided-lifetimes-in-paths`
- [ ] `rust.missing-debug-implementations` (not sure if good thing)
- [ ] `rust.missing-docs` for all published librari…
-
This issue is a place to gather ideas/proposals for new lints.
## Future lints:
- Dead Code
- Shadowing a mutable variable with an immutable variable of the same type
- Having a callable name…
-
We cannot replace eslint because of plugins and the conclusion of the discussion was to drop it
-
We would like to investigate if the following lints related to `const` (which are currently enabled by package:flutter_lints) are carrying their weight:
- [prefer_const_constructors](https://dart.d…
-
Like this https://eslint.org/demo/
But for [xo](https://github.com/sindresorhus/xo)
It could use https://wzrd.in/ to just load the latest from npm so one wouldn't need to update it much.
> cr…