mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 05:41:12 +00:00
56a854fe14
* update github.com/docker/cli * update github.com/docker/distribution * update github.com/docker/docker * update github.com/gin-gonic/gin * update github.com/golang-jwt/jwt/v4 * update github.com/golangci/golangci-lint * update github.com/gorilla/securecookie * update github.com/mattn/go-sqlite3 * update github.com/moby/moby * update github.com/prometheus/client_golang * update github.com/xanzy/go-gitlab
55 lines
940 B
YAML
55 lines
940 B
YAML
linters:
|
|
enable:
|
|
- asciicheck
|
|
- bodyclose
|
|
- cyclop
|
|
- durationcheck
|
|
- errname
|
|
- errorlint
|
|
- exportloopref
|
|
- forcetypeassert
|
|
- gocognit
|
|
- gocritic
|
|
- goerr113
|
|
- gofmt
|
|
- goprintffuncname
|
|
- gosec
|
|
- ifshort
|
|
- nakedret
|
|
- nestif
|
|
- nilerr
|
|
- noctx
|
|
- nolintlint
|
|
- prealloc
|
|
- predeclared
|
|
- promlinter
|
|
- revive
|
|
- rowserrcheck
|
|
- sqlclosecheck
|
|
- stylecheck
|
|
- thelper
|
|
- tparallel
|
|
- unconvert
|
|
- unparam
|
|
- varnamelen
|
|
- wastedassign
|
|
- wrapcheck
|
|
- wsl
|
|
|
|
linters-settings:
|
|
gocognit:
|
|
min-complexity: 15
|
|
nakedret:
|
|
max-func-lines: 0
|
|
nolintlint:
|
|
allow-unused: false
|
|
allow-leading-space: false
|
|
require-explanation: true
|
|
require-specific: true
|
|
unused:
|
|
go: 1.16
|
|
varnamelen:
|
|
check-return: true
|
|
ignore-type-assert-ok: true
|
|
ignore-map-index-ok: true
|
|
ignore-chan-recv-ok: true
|