From 8e2a390b6813736e3d217a24b0a7ee80b37c5802 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Fri, 7 Jun 2024 09:22:51 -0700 Subject: [PATCH] chore: add --check_direct_dependencies to .bazelrc --- .bazelrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bazelrc b/.bazelrc index ecc7ab3..d957d9c 100644 --- a/.bazelrc +++ b/.bazelrc @@ -8,6 +8,11 @@ import %workspace%/.aspect/bazelrc/performance.bazelrc ### YOUR PROJECT SPECIFIC OPTIONS GO HERE ### +# Don’t want to push a rules author to update their deps if not needed. +# https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies +# https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0 +common --check_direct_dependencies=off + # Load any settings & overrides specific to the current user from `.aspect/bazelrc/user.bazelrc`. # This file should appear in `.gitignore` so that settings are not shared with team members. This # should be last statement in this config so the user configuration is able to overwrite flags from