refactor: Add --fast flag to accelerate lint for git pre-commit hook (#19259)

This commit is contained in:
levisyin
2024-01-28 09:52:44 +00:00
committed by GitHub
parent 493dd78e56
commit 430b53236e
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
# lint modified go files
golangci-lint run --fix --new -c .golangci.yml
golangci-lint run --fix --new --fast -c .golangci.yml