We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edf1338 + 42f481c commit bd762feCopy full SHA for bd762fe
.pre-commit-config.yaml
@@ -60,6 +60,25 @@ repos:
60
hooks:
61
- id: validate_manifest
62
63
+ # Go hooks
64
+ - repo: https://github.com/TekWizely/pre-commit-golang
65
+ rev: v1.0.0-rc.1
66
+ hooks:
67
+ # Style Checkers
68
+ - id: go-critic
69
+ # StaticCheck
70
+ - id: go-staticcheck-repo-mod
71
+ # Go Build
72
+ - id: go-build-repo-mod
73
+ # Go Mod Tidy
74
+ - id: go-mod-tidy-repo
75
+ # Go Test
76
+ - id: go-test-repo-mod
77
+ # Go Vet
78
+ - id: go-vet-repo-mod
79
+ # GoSec
80
+ - id: go-sec-repo-mod
81
+
82
# Shell script hooks
83
- repo: https://github.com/cisagov/pre-commit-shfmt
84
rev: v0.0.2
0 commit comments