File tree Expand file tree Collapse file tree 2 files changed +3
-21
lines changed Expand file tree Collapse file tree 2 files changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -22,33 +22,15 @@ repos:
2222 test/testdata/buffer_test_payload_full.json
2323 )
2424 - id : trailing-whitespace
25- - repo : https://github.com/dnephin/pre-commit-golang
26- rev : v0.5.1
27- hooks :
28- - id : go-fmt
29- - id : go-imports
30- - id : go-cyclo
31- - id : validate-toml
32- - id : no-go-testing
33- - id : golangci-lint
34- # - id: go-critic
35- # # args: [-disable=sloppyTypeAssert]
36- # args: ["-v", "-enable='yodaStyleExpr'", "-disable=sloppyTypeAssert"]
37- # there is timeout of 30s for go-unit-test and we need more
38- # - id: go-unit-tests
39- - id : go-build
40- - id : go-mod-tidy
41- - id : go-mod-vendor
4225
4326 - repo : https://github.com/Bahjat/pre-commit-golang
4427 rev : v1.0.3
4528 hooks :
4629 - id : go-fmt-import
4730 - id : go-lint
48- # - id: go-unit-tests
4931 - id : gofumpt
5032 - id : go-err-check
51- # - id: go-static-check
52- # - id: golangci-lint
33+ - id : golangci-lint
34+ - id : go-static-check
5335 # - id: go-ruleguard # requires https://github.com/quasilyte/go-ruleguard
5436 # args: [rules/rules.go] # required
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ go install -v github.com/BurntSushi/toml/cmd/tomlv@latest
88go install -v mvdan.cc/gofumpt@latest
99go install -v github.com/kisielk/errcheck@latest
1010# go install -v github.com/quasilyte/go-ruleguard/cmd/ruleguard@latest
11- # go install -v honnef.co/go/tools/cmd/staticcheck@latest
11+ go install -v honnef.co/go/tools/cmd/staticcheck@latest
You can’t perform that action at this time.
0 commit comments