buildifier
buildifier is a linter for Bazel, Starlark.
You can enable the buildifier linter with:
Auto Enabling
buildifier will be auto-enabled if any Starlark, Bazel-build or Bazel-workspace files are present.
Settings
buildifier supports the following config files:
.buildifier.json
.buildifier-tables.json
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linter Configs for more info.
Links
buildifier Trunk Check integration source
Trunk Check's open source plugins repo
Last updated