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

chore: enforce more rigorous code with clippy #34

Open
jeertmans opened this issue Oct 5, 2022 · 0 comments
Open

chore: enforce more rigorous code with clippy #34

jeertmans opened this issue Oct 5, 2022 · 0 comments
Labels
good first issue Good for newcomers hacktoberfest Issue that is created for the Hacktoberfest event linting Linting files to match some guidelines

Comments

@jeertmans
Copy link
Owner

What

Currently, only a few clippy rules are used, see:

#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![warn(clippy::must_use_candidate)]
#![allow(clippy::doc_markdown, clippy::module_name_repetitions)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc = include_str!("../../README.md")]

I'd like to enforce a more uniform code style by adding other clippy rules, such as clippy::pendatic.

How to

It's a very open issue, and I would love to get suggestion from the community, on some clippy rules that I could use.
Of course, using some new rules might need to edit the current code base.

@jeertmans jeertmans added good first issue Good for newcomers linting Linting files to match some guidelines hacktoberfest Issue that is created for the Hacktoberfest event labels Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Issue that is created for the Hacktoberfest event linting Linting files to match some guidelines
Projects
None yet
Development

No branches or pull requests

1 participant