pre-commit
hook which automatically downloads buildifier and runs it.
repos:
- repo: https://github.com/warchant/pre-commit-buildifier
rev: 0.1.2
hooks:
- id: buildifier
run with specific buildifier version and args:
repos:
- repo: https://github.com/warchant/pre-commit-buildifier
rev: 0.1.2
hooks:
- id: buildifier
args: [--version, "v6.3.2", -mode=fix]