Skip to content

Commit a95499e

Browse files
Add pre-commit hook to format .go files
1 parent 71f96f9 commit a95499e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ repos:
1515
language: system
1616
types: [file]
1717
files: \.v$
18+
- id: gofmt
19+
name: format .go files
20+
entry: go fmt
21+
language: system
22+
types: [go]

0 commit comments

Comments
 (0)