refactor: add make lint git hook (#19075)

This commit is contained in:
levisyin
2024-01-23 09:43:14 +00:00
committed by GitHub
parent 7685abb885
commit ad04bfede0
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
# lint modified go files
golangci-lint run --fix --new -c .golangci.yml