Skip to content

buildifier does not move package() to the top in some cases #1420

@keith

Description

@keith

if you have a BUILD file like this:

some_target(
...
)

some_list = [
#
]

package(default_visibility = ["//visibility:public"])

buildifier does not warn about the package() being at the bottom, nor does it move it to the top when fixing

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