This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 - run : go get golang.org/x/tools/cmd/goimports
2525 - run : " ! goimports ./... 2>&1 | read"
2626 - run : " ! go mod tidy ./... 2>&1 | read"
27- - run : go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
27+ - run : GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.16.0
2828 - run : " ! golangci-lint 2>&1 | read"
2929workflows :
3030 version : 2
Original file line number Diff line number Diff line change 1+ linters-settings :
2+ gocritic :
3+ disabled-checks :
4+ - ifElseChain
5+ - elseif
6+
17linters :
2- enable :
8+ enable :
9+ - gofmt
310 - gocritic
11+ - unconvert
412 - goconst
513 - gocyclo
614 - misspell
Original file line number Diff line number Diff line change 11repos :
22- repo : https://github.com/keybase/pre-commit-golang
3- rev : b8194ff9d85455a702480677ada13ac4dbe94146
3+ rev : 314766a2c26b7f32641addbdb0e7e451320ff1f0
44 hooks :
55 - id : go-fmt
66 - id : go-vet
77 - id : go-lint
8+ - id : golangci-lint
89- repo : https://github.com/troian/pre-commit-golang
910 rev : ab57c5db44bbeeae1031a2e9c2889367f8387d59
1011 hooks :
1314 rev : f16f18866390cba642e8af6073ed59504aeada5c
1415 hooks :
1516 - id : go-mod-tidy
16- - repo : https://github.com/golangci/golangci-lint
17- rev : d2b1eea2c6171a1a1141a448a745335ce2e928a1
18- hooks :
19- - id : golangci-lint
You can’t perform that action at this time.
0 commit comments