dip/vendor/github.com/likexian/whois/.golangci.yml
Paul Lecuq 14decf2db8
All checks were successful
continuous-integration/drone/push Build is passing
updated dependencies
2023-03-17 13:19:17 +01:00

54 lines
867 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:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- 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