-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-lintArea: New lintsArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.T-ASTType: Requires working with the ASTType: Requires working with the ASTT-macrosType: Issues with macros and macro expansionType: Issues with macros and macro expansionT-middleType: Probably requires verifiying typesType: Probably requires verifiying typesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Description
Hey, I would love to add a few lints to that which are fairly super pedantic. We use them (or rather a shell script that checks for them :P) at the moment to ensure error handling/non crashy behaviour in our codebase they sum up to:
- no unwrap
- no unimplemented
- no unreachable
- no panic
- no let _ on results.
- no expect
- no dbg!
- no std::process::exit
- no bracket access
[....]
but before I go ahead I'd like to get an opinion of those would be accepted?
JeanMertz
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.T-ASTType: Requires working with the ASTType: Requires working with the ASTT-macrosType: Issues with macros and macro expansionType: Issues with macros and macro expansionT-middleType: Probably requires verifiying typesType: Probably requires verifiying typesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy