Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE:DEV] Improve Linting Rules #37

Open
DeveloperPaul123 opened this issue Dec 3, 2024 · 0 comments
Open

[FEATURE:DEV] Improve Linting Rules #37

DeveloperPaul123 opened this issue Dec 3, 2024 · 0 comments

Comments

@DeveloperPaul123
Copy link
Owner

There are a lot more rules that we can make use of with clippy; we should leverage this to harden our library code.

Some useful tips here: https://youtu.be/SWwTD2neodE?si=0akyjxeGfOcG7tn7

Consider using:

#! [deny( c lippy: : unwrap_used ) ]
#! [deny( clippy: : expect _ used ) ]
#! [deny( clippy: : panic ) ]
#! [deny( unused_must_use)]

Documentation https://rust-lang.github.io/rust-clippy/master/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant