You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, clippy.toml does not allow configuring lint levels: rust-lang/rust-clippy#6625
The lints need to be configured on the command line, for example:
-D warnings \
-D clippy::all \
-D clippy::mem_forget \
-A clippy::redundant_closure \
-A clippy::too_many_arguments \
-C debug-assertions=off
Enabling this sort of configuration in BUILD.bazel or .bazelrc would be a very nice feature.
The text was updated successfully, but these errors were encountered:
The current documentation does not specify how to pass flags to the
clippy
tool: https://bazelbuild.github.io/rules_rust/rust_clippy.html#rust_clippy_aspectUnfortunately,
clippy.toml
does not allow configuring lint levels: rust-lang/rust-clippy#6625The lints need to be configured on the command line, for example:
Enabling this sort of configuration in
BUILD.bazel
or.bazelrc
would be a very nice feature.The text was updated successfully, but these errors were encountered: