Updated linter settings
This commit is contained in:
parent
64079373fe
commit
e82a9e5e8a
@ -16,7 +16,7 @@ steps:
|
|||||||
- make tools
|
- make tools
|
||||||
- make assets
|
- make assets
|
||||||
- make server
|
- make server
|
||||||
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.3
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
- make db
|
- make db
|
||||||
- go test -v -coverprofile=coverage.txt .
|
- go test -v -coverprofile=coverage.txt .
|
||||||
|
@ -12,6 +12,7 @@ linters:
|
|||||||
- gochecknoinits
|
- gochecknoinits
|
||||||
- gocyclo
|
- gocyclo
|
||||||
- gocognit
|
- gocognit
|
||||||
|
- gomnd
|
||||||
- gosec
|
- gosec
|
||||||
- stylecheck
|
- stylecheck
|
||||||
- funlen
|
- funlen
|
||||||
|
Loading…
Reference in New Issue
Block a user