Skip to content

Commit 07edacd

Browse files
committed
fix: Update pre-commit desciptions
Signed-off-by: Bryan Hundven <[email protected]>
1 parent bf0ee47 commit 07edacd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.pre-commit-hooks.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,81 +5,81 @@
55
types: [go]
66
exclude: '(^|/)vendor/'
77
language: 'script'
8-
description: "Runs `gofmt`. Requires golang"
8+
description: "Runs `gofmt`. Requires golang: https://go.dev/doc/install"
99
pass_filenames: true
1010
- id: go-imports
1111
name: 'goimports'
1212
entry: pre-commit-hooks/go-imports.sh
1313
types: [go]
1414
exclude: '(^|/)vendor/'
1515
language: 'script'
16-
description: "Runs `goimports`. Requires golang and goimports"
16+
description: "Runs `goimports`. Requires goimports: https://pkg.go.dev/golang.org/x/tools/cmd/goimports" # yamllint disable-line rule:line-length
1717
pass_filenames: true
1818
- id: go-vet
1919
name: 'go vet'
2020
entry: pre-commit-hooks/go-vet.sh
2121
types: [go]
2222
exclude: '(^|/)vendor/'
2323
language: 'script'
24-
description: "Runs `go vet`. Requires golang"
24+
description: "Runs `go vet`. Requires golang: https://go.dev/doc/install"
2525
pass_filenames: true
2626
- id: go-lint
2727
name: 'golint'
2828
entry: pre-commit-hooks/go-lint.sh
2929
types: [go]
3030
exclude: '(^|/)vendor/'
3131
language: 'script'
32-
description: "Runs `golint`. Requires golang and golint"
32+
description: "[DEPRECATED] Runs `golint`. Requires golint: https://github.com/golang/lint" # yamllint disable-line rule:line-length
3333
pass_filenames: true
3434
- id: golangci-lint
3535
name: 'golangci-lint'
3636
entry: pre-commit-hooks/golangci-lint.sh
3737
types: [go]
3838
exclude: '(^|/)vendor/'
3939
language: 'script'
40-
description: "Runs `golangci-lint`. Requires golangci-lint"
40+
description: "Runs `golangci-lint`. Requires golangci-lint: https://github.com/golangci/golangci-lint" # yamllint disable-line rule:line-length
4141
pass_filenames: true
4242
- id: go-critic
4343
name: "gocritic"
4444
entry: pre-commit-hooks/go-critic.sh
4545
types: [go]
4646
exclude: '(^|/)vendor/'
4747
language: 'script'
48-
description: "Runs `gocritic`. Requires gocritic"
48+
description: "Runs `gocritic`. Requires gocritic: https://github.com/go-critic/go-critic" # yamllint disable-line rule:line-length
4949
pass_filenames: true
5050
- id: go-unit-tests
5151
name: 'go test'
5252
entry: pre-commit-hooks/go-unit-tests.sh
5353
types: [go]
5454
exclude: '(^|/)vendor/'
5555
language: 'script'
56-
description: "Runs `go test`"
56+
description: "Runs `go test`. Requires golang: https://go.dev/doc/install"
5757
pass_filenames: false
5858
- id: go-build
5959
name: 'go build'
6060
entry: pre-commit-hooks/go-build.sh
6161
types: [go]
6262
language: 'script'
63-
description: "Runs `go build`"
63+
description: "Runs `go build`. Requires golang: https://go.dev/doc/install"
6464
pass_filenames: false
6565
- id: go-generate
6666
name: 'go generate'
6767
entry: pre-commit-hooks/go-build.sh
6868
types: [go]
6969
language: 'script'
70-
description: "Runs `go generate`"
70+
description: "Runs `go generate`. Requires golang: https://go.dev/doc/install"
7171
pass_filenames: true
7272
- id: go-mod-tidy
7373
name: 'go mod tidy'
7474
entry: pre-commit-hooks/go-mod-tidy.sh
7575
types: [go]
7676
language: 'script'
77-
description: "Runs `go mod tidy -v`"
77+
description: "Runs `go mod tidy -v`. Requires golang: https://go.dev/doc/install" # yamllint disable-line rule:line-length
7878
pass_filenames: true
7979
- id: go-mod-vendor
8080
name: 'go mod vendor'
8181
entry: pre-commit-hooks/go-mod-vendor.sh
8282
types: [go]
8383
language: 'script'
84-
description: "Runs `go mod vendor`"
84+
description: "Runs `go mod vendor`. Requires golang: https://go.dev/doc/install" # yamllint disable-line rule:line-length
8585
pass_filenames: false

0 commit comments

Comments
 (0)