Skip to content

Commit 19e5af6

Browse files
Add buildifier to pre-commit configuration
1 parent 50256db commit 19e5af6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,13 @@ repos:
5555
entry: shellcheck
5656
language: system
5757
types: [shell]
58+
59+
- id: buildifier fix
60+
name: bazel linting fix (container)
61+
entry: buildifier --lint=fix -r .
62+
language: system
63+
64+
- id: buildifier format
65+
name: bazel formatting (container)
66+
entry: buildifier -r .
67+
language: system

0 commit comments

Comments
 (0)