Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 462 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 462 Bytes

pre-commit-buildifier

pre-commit hook which automatically downloads buildifier and runs it.

Example:

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]