Skip to content

[buildifier] Feature request: CLI flag + config for globally disabling certain warnings #1493

Description

@Ahajha

Right now, you can provide a list of warnings via -warnings or warningsList, but it makes it difficult to disable specific ones, as if buildifier updates you could be silently turning off all new warnings. Also, because the config file doesn't support JSONC, there's no way to annotate the file. This would improve the UX here.

I ran into this with #1492, and the easiest course of action would have been for me to just disable the one lint.

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