mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 03:26:30 +00:00
c28f7cb29f
Initial part of #435
67 lines
981 B
YAML
67 lines
981 B
YAML
run:
|
|
concurrency: 2
|
|
deadline: 5m
|
|
|
|
skip-dirs:
|
|
- path: ./testdata/
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- deadcode
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
- bodyclose
|
|
- depguard
|
|
- dogsled
|
|
- dupl
|
|
- funlen
|
|
- gochecknoinits
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- godot
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
- golint
|
|
- gomnd
|
|
- gomodguard
|
|
- goprintffuncname
|
|
- gosec
|
|
- lll
|
|
- maligned
|
|
- misspell
|
|
- nakedret
|
|
- nestif
|
|
- prealloc
|
|
- rowserrcheck
|
|
- scopelint
|
|
- stylecheck
|
|
- unconvert
|
|
- unparam
|
|
- whitespace
|
|
|
|
linters-settings:
|
|
godot:
|
|
check-all: true
|
|
|
|
issues:
|
|
exclude-use-default: false
|
|
exclude-rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- dupl
|
|
- errcheck
|
|
- funlen
|
|
- gosec
|
|
- path: cmd/godot/main\.go
|
|
linters:
|
|
- gomnd
|