File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1313 types : [go]
1414 exclude : ' (^|/)vendor/'
1515 language : ' script'
16- description : " Runs `gofumpt`. Requires gofumpt: https://github.com/mvdan/gofumpt" # yamllint disable-line rule:line-length
16+ description : " Runs `gofumpt`. Requires gofumpt: https://github.com/mvdan/gofumpt"
1717 pass_filenames : true
1818- id : go-imports
1919 name : ' goimports'
2020 entry : pre-commit-hooks/go-imports.sh
2121 types : [go]
2222 exclude : ' (^|/)vendor/'
2323 language : ' script'
24- description : " Runs `goimports`. Requires goimports: https://pkg.go.dev/golang.org/x/tools/cmd/goimports" # yamllint disable-line rule:line-length
24+ description : " Runs `goimports`. Requires goimports: https://pkg.go.dev/golang.org/x/tools/cmd/goimports"
2525 pass_filenames : true
2626- id : go-vet
2727 name : ' go vet'
3737 types : [go]
3838 exclude : ' (^|/)vendor/'
3939 language : ' script'
40- description : " [DEPRECATED] Runs `golint`. Requires golint: https://github.com/golang/lint" # yamllint disable-line rule:line-length
40+ description : " [DEPRECATED] Runs `golint`. Requires golint: https://github.com/golang/lint"
4141 pass_filenames : true
4242- id : golangci-lint
4343 name : ' golangci-lint'
4444 entry : pre-commit-hooks/golangci-lint.sh
4545 types : [go]
4646 exclude : ' (^|/)vendor/'
4747 language : ' script'
48- description : " Runs `golangci-lint`. Requires golangci-lint: https://github.com/golangci/golangci-lint" # yamllint disable-line rule:line-length
48+ description : " Runs `golangci-lint`. Requires golangci-lint: https://github.com/golangci/golangci-lint"
4949 pass_filenames : true
5050- id : go-critic
5151 name : " gocritic"
5252 entry : pre-commit-hooks/go-critic.sh
5353 types : [go]
5454 exclude : ' (^|/)vendor/'
5555 language : ' script'
56- description : " Runs `gocritic`. Requires gocritic: https://github.com/go-critic/go-critic" # yamllint disable-line rule:line-length
56+ description : " Runs `gocritic`. Requires gocritic: https://github.com/go-critic/go-critic"
5757 pass_filenames : true
5858- id : go-unit-tests
5959 name : ' go test'
8282 entry : pre-commit-hooks/go-mod-tidy.sh
8383 types : [go]
8484 language : ' script'
85- description : " Runs `go mod tidy -v`. Requires golang: https://go.dev/doc/install" # yamllint disable-line rule:line-length
85+ description : " Runs `go mod tidy -v`. Requires golang: https://go.dev/doc/install"
8686 pass_filenames : true
8787- id : go-mod-vendor
8888 name : ' go mod vendor'
8989 entry : pre-commit-hooks/go-mod-vendor.sh
9090 types : [go]
9191 language : ' script'
92- description : " Runs `go mod vendor`. Requires golang: https://go.dev/doc/install" # yamllint disable-line rule:line-length
92+ description : " Runs `go mod vendor`. Requires golang: https://go.dev/doc/install"
9393 pass_filenames : false
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ yaml-files:
99ignore : |
1010 .github/workflows/
1111
12- # rules:
12+ rules :
13+ line-length : disable
You can’t perform that action at this time.
0 commit comments