Skip to content

Commit

Permalink
[lint] Correctly suppress BUILDIFIERLINT
Browse files Browse the repository at this point in the history
Summary:
`lint-ignore` and `lint-ignore-every` bluntly silence any issue,
whereas buildifier suppression directives allow for precise narrow
per-issue suppression. So replace them.

Test Plan: `arc lint` comes back clean

Reviewed By: dtolnay

Differential Revision: D47348679

fbshipit-source-id: a56c0ee97ac1a9066094b7dfff3bff6a203b5d94
  • Loading branch information
zertosh authored and facebook-github-bot committed Jul 10, 2023
1 parent 318c9d6 commit 17b8b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antlir/bzl/image/feature/install.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def feature_install(
user = "root",
group = "root",
separate_debug_symbols = True,
# @lint-ignore BUILDIFIERLINT
# buildifier: disable=unused-variable
wrap_as_buck_runnable = False):
"""
`feature.install("//path/fs:data", "dir/bar")` installs file or directory
Expand Down

0 comments on commit 17b8b6f

Please sign in to comment.