| commit | 9bdafcfba839f1d1799ca37551b093398b179c20 | [log] [tgz] |
|---|---|---|
| author | Joshua Haberman <jhaberman@gmail.com> | Mon Jan 19 00:49:00 2026 -0800 |
| committer | GitHub <noreply@github.com> | Mon Jan 19 09:49:00 2026 +0100 |
| tree | 724f980db6bcc3cfcac8aa2bd4c64b9464172d4e | |
| parent | f026de8858b32ab9a8f884197e6309837b8d629f [diff] |
Disable bzl-visibility lint if the target file has a `visibility()` declaration (#1439) * Disable bzl-visibility lint if the target file has a `visibility()` declaration. The official docs for this lint say: > This lint predates the load visibility feature and is unnecessary in workspaces where .bzl files declare visibilities. However the lint can sometimes get in the way, by warning about instances where the usage is actually intended. Since `visibility()` is more explicit, and more strictly enforced, there is no need for the lint to return any warnings if the target file has a visibility declaration. MARKDOWN=true * Addressed edge case where call function is not an ident. Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Added a test that files without visibility() still enforce the check. MARKDOWN=true --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This repository contains developer tools for working with Google's bazel buildtool.
See instructions in each tool's directory.