Skip to content

Commit e87752f

Browse files
authored
chore: add --check_direct_dependencies to .bazelrc (#97)
1 parent d546bce commit e87752f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ import %workspace%/.aspect/bazelrc/performance.bazelrc
88

99
### YOUR PROJECT SPECIFIC OPTIONS GO HERE ###
1010

11+
# Don’t want to push a rules author to update their deps if not needed.
12+
# https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies
13+
# https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0
14+
common --check_direct_dependencies=off
15+
1116
# Load any settings & overrides specific to the current user from `.aspect/bazelrc/user.bazelrc`.
1217
# This file should appear in `.gitignore` so that settings are not shared with team members. This
1318
# should be last statement in this config so the user configuration is able to overwrite flags from

0 commit comments

Comments
 (0)