Skip to content

Commit 992e731

Browse files
zertoshfacebook-github-bot
authored andcommitted
Prefer native buildifier suppressions over @lint-ignore BUILDIFIERLINT
Summary: Buildifier has its own native syntax for this. Avoid mixing suppression syntaxes by disallowing using Linttool's syntax (i.e. `lint-ignore`). Reviewed By: dtolnay Differential Revision: D55879633 fbshipit-source-id: 65d50db41e57f5d87008d8a58c63a2f08d1be49d
1 parent 01bac3d commit 992e731

File tree

1 file changed

+5
-3
lines changed
  • shim/target_determinator/macros

1 file changed

+5
-3
lines changed

shim/target_determinator/macros/ci.bzl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
def _lbl(*_args):
99
return ""
1010

11-
def _package(_values, overwrite = False):
12-
# @lint-ignore BUILDIFIERLINT
13-
_ = overwrite
11+
def _package(
12+
_values,
13+
# starlark-lint-disable unused-argument
14+
overwrite = False): # @unused
15+
pass
1416

1517
ci = struct(
1618
package = _package,

0 commit comments

Comments
 (0)