mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-09 00:55:32 +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
49 lines
795 B
YAML
49 lines
795 B
YAML
{
|
|
"run": {
|
|
# timeout for analysis, e.g. 30s, 5m, default is 1m
|
|
"deadline": "3m",
|
|
},
|
|
"fast": false,
|
|
"linters": {
|
|
"enable": [
|
|
"deadcode",
|
|
"errcheck",
|
|
"gas",
|
|
"gocritic",
|
|
"gofmt",
|
|
"goimports",
|
|
"revive",
|
|
"govet",
|
|
"gosimple",
|
|
"ineffassign",
|
|
"megacheck",
|
|
"misspell",
|
|
"nakedret",
|
|
"staticcheck",
|
|
"structcheck",
|
|
"typecheck",
|
|
"unconvert",
|
|
"unused",
|
|
"varcheck",
|
|
],
|
|
},
|
|
"disable": [
|
|
"depguard",
|
|
"dupl",
|
|
"gocyclo",
|
|
"interfacer",
|
|
"lll",
|
|
"maligned",
|
|
"prealloc",
|
|
],
|
|
"linters-settings": {
|
|
"gocritic": {
|
|
"enabled-tags": [
|
|
"style",
|
|
"diagnostic",
|
|
"performance",
|
|
"experimental",
|
|
],
|
|
},
|
|
},
|
|
}
|