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

Add clippy and rustfmt setups to the Tuta SDK #7058

Open
rezbyte opened this issue Jun 4, 2024 · 0 comments
Open

Add clippy and rustfmt setups to the Tuta SDK #7058

rezbyte opened this issue Jun 4, 2024 · 0 comments
Labels
improvement nice-to-haves that are not impeding usage of any features SDK

Comments

@rezbyte
Copy link
Contributor

rezbyte commented Jun 4, 2024

We should implement a linting setup to help maintain code quality while writing the rust code for the SDK. I would suggest using cargo's included linter 'clippy' and enabling the lints in rustc. In order to come to a rule list we all agree upon, you could base the linting config on the discussions had in #6451.

On that note, we should also integrate a code formatter such as rustfmt. rustfmt is from the Rust team and is integrated with a number of editors including RustRover and VS Code, so I recommend it.

Both of the two above should have a GitHub Actions workflow to run them as checks on PRs.

@rezbyte rezbyte added improvement nice-to-haves that are not impeding usage of any features SDK labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement nice-to-haves that are not impeding usage of any features SDK
Projects
None yet
Development

No branches or pull requests

1 participant