This repository was archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Enable more clippy lints #304
Milestone
Comments
"open source" added to force discussion. |
IMHO: agree for opensource. |
Agreed for all. |
It seems like clippy does not support a proper config file right now and we need to fall back to passing extra lints as arguments ala: More to read: rust-lang/rust-clippy#3164 |
I opt for not using |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
There are a couple of interesting lints in clippy that are
allow
by default but might be useful for us:Wrong integer arithmetic:
Invalid
From
implementation:Println statements:
There should be no println statements in the code base but only logger statements.
Use ofclone
forArc
s andRc
s:- https://rust-lang-nursery.github.io/rust-clippy/master/index.html#clone_on_ref_ptrThe text was updated successfully, but these errors were encountered: