# `.bazelrc` is a Bazel configuration file. | |
# https://docs.bazel.build/versions/master/best-practices.html#using-the-bazelrc-file | |
# Enable rustfmt for all targets in the workspace | |
build:rustfmt --aspects=//rust:defs.bzl%rustfmt_aspect | |
build:rustfmt --output_groups=+rustfmt_checks | |
# Enable clippy for all targets in the workspace | |
build:clippy --aspects=//rust:defs.bzl%rust_clippy_aspect | |
build:clippy --output_groups=+clippy_checks |