Skip to content

Commit 6b9905d

Browse files
committed
chore: use local buildifier target for pre-commit
1 parent 85eedb8 commit 6b9905d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ buildifier(
9292
lint_warnings = ["-out-of-order-load"], # TODO: enable out-of-order-load
9393
mode = "fix",
9494
tags = ["manual"], # tag as manual so windows ci does not build it by default
95+
visibility = ["//visibility:public"],
9596
)
9697

9798
buildifier(
@@ -104,6 +105,7 @@ buildifier(
104105
lint_warnings = ["-out-of-order-load"], # TODO: enable out-of-order-load
105106
mode = "diff",
106107
tags = ["manual"], # tag as manual so windows ci does not build it by default
108+
visibility = ["//visibility:public"],
107109
)
108110

109111
alias(

tools/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ package(default_visibility = ["//:__subpackages__"])
1212
format_multirun(
1313
name = "format",
1414
shell = "@aspect_rules_lint//format:shfmt",
15-
starlark = "@buildifier_prebuilt//:buildifier",
15+
starlark = "//:buildifier",
1616
)
1717

1818
bazelrc_preset(

0 commit comments

Comments
 (0)