aspect-build / rules_esbuild

Bazel rules for https://esbuild.github.io/ JS bundler
https://docs.aspect.build/rules/aspect_rules_esbuild
Apache License 2.0
27 stars 27 forks source link

chore: add --check_direct_dependencies to .bazelrc #216

Closed gregmagolan closed 3 months ago

gregmagolan commented 3 months ago

Setting this flag in our the rule sets we maintain. 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

plus,

try-import %workspace%/.aspect/bazelrc/user.bazelrc

is the established pattern for our rule sets where we have the bazel-lib presets in place