Markus Pesch
daf58bb4ca
All checks were successful
continuous-integration/drone/push Build is passing
43 lines
608 B
YAML
43 lines
608 B
YAML
run:
|
|
skip-dirs:
|
|
- it
|
|
timeout: 10m
|
|
tests: true
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
# Default
|
|
- deadcode
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
|
|
# Additionally linters
|
|
- containedctx
|
|
- decorder
|
|
- errname
|
|
- gosec
|
|
- ireturn
|
|
- makezero
|
|
- misspell
|
|
- unparam
|
|
- whitespace
|
|
- wrapcheck
|
|
|
|
linters-settings:
|
|
# https://golangci-lint.run/usage/linters/#ireturn
|
|
ireturn:
|
|
allow:
|
|
- anon
|
|
- error
|
|
- empty
|
|
- stdlib
|
|
- github.com\/dedalus-cis4u\/proxy\/t1k\/test\/scheme\.Database
|