dip/vendor/github.com/likexian/whois/.golangci.yml
Paul Lecuq 4f4f590622
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
updated dip dependencies
2021-11-12 12:28:10 +01:00

57 lines
915 B
YAML

# .golangci.yml
# Maintainer: https://www.likexian.com
# Licensed under the Apache License 2.0
run:
timeout: 5m
skip-dirs-use-default: true
linters:
disable-all: true
enable:
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- cyclop
- durationcheck
- errname
- errorlint
- exportloopref
- gofmt
- goimports
- lll
- misspell
- nilerr
- nolintlint
- prealloc
- revive
- rowserrcheck
- sqlclosecheck
- stylecheck
- unconvert
- wastedassign
linters-settings:
cyclop:
max-complexity: 20
package-average: 10.0
skip-tests: true
issues:
max-issues-per-linter: 0
max-same-issues: 0
exclude-rules:
- path: _test\.go
linters:
- errcheck
- source: "^//go:generate "
linters:
- lll