Skip to content

lint: the root buildifier lint aspect checks no Starlark #1245

Closed

Description

@bpalermo

Found while adding root-driven lint/format for proxy/ (#1229): under --config=lint the buildifier aspect in bazel/lint/linters.bzl visits no Starlark sources, so buildifier lint warnings (as opposed to formatting, which //:format covers) are never reported for BUILD/.bzl files.

To do: confirm with a deliberately lint-dirty .bzl file, then wire buildifier lint mode (a test target or the format config's lint mode) into CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions