We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Split from:
We'd like to add linting for the new Rust code, similar to what we have for Java with Checkstyle.
Rust has some linting built in, with compiler warnings:
https://doc.rust-lang.org/rustc/lints/index.html
We could add an option to fail the build if there are any compiler warnings, and turn that on in GitHub Actions:
https://users.rust-lang.org/t/how-to-fail-a-build-with-warnings/2687/5
There's also Clippy:
https://github.com/rust-lang/rust-clippy
Clippy can report on compiler warnings as well, so we don't need both.
The text was updated successfully, but these errors were encountered:
patchwork01
Successfully merging a pull request may close this issue.
Background
Split from:
Description
We'd like to add linting for the new Rust code, similar to what we have for Java with Checkstyle.
Analysis
Rust has some linting built in, with compiler warnings:
https://doc.rust-lang.org/rustc/lints/index.html
We could add an option to fail the build if there are any compiler warnings, and turn that on in GitHub Actions:
https://users.rust-lang.org/t/how-to-fail-a-build-with-warnings/2687/5
There's also Clippy:
https://github.com/rust-lang/rust-clippy
Clippy can report on compiler warnings as well, so we don't need both.
The text was updated successfully, but these errors were encountered: