Skip to content

Commit 42820e2

Browse files
committed
Replace hooks with repo based option when available
1 parent f8179f1 commit 42820e2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ repos:
6868
- id: go-lint
6969
- id: go-critic
7070
# StaticCheck
71-
- id: go-staticcheck-mod
71+
- id: go-staticcheck-repo-mod
7272
# Go Build
73-
- id: go-build-mod
73+
- id: go-build-repo-mod
7474
# Go Mod Tidy
75-
- id: go-mod-tidy
75+
- id: go-mod-tidy-repo
7676
# Go Test
77-
- id: go-test-mod
77+
- id: go-test-repo-mod
7878
# Go Vet
79-
- id: go-vet
79+
- id: go-vet-repo-mod
8080
# GoSec
81-
- id: go-sec-mod
81+
- id: go-sec-repo-mod
8282

8383
# Shell script hooks
8484
- repo: https://github.com/cisagov/pre-commit-shfmt

0 commit comments

Comments
 (0)