Last updated 6 months ago
is a linter for Bazel, Starlark.
You can enable the Buildifier linter with:
trunk check enable buildifier
Buildifier will be auto-enabled if any Bazel or Starlark files are present.
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 for more info.
.trunk/configs
trunk check
Buildifier Trunk Code Quality
Trunk Code Quality's