89 lines
1.4 KiB
YAML
89 lines
1.4 KiB
YAML
linters-settings:
|
|
dupl:
|
|
threshold: 100
|
|
gocyclo:
|
|
min-complexity: 15
|
|
gocritic:
|
|
enabled-tags:
|
|
- diagnostic
|
|
- experimental
|
|
- opinionated
|
|
- performance
|
|
- style
|
|
disabled-checks:
|
|
- ifElseChain
|
|
- whyNoLint
|
|
- wrapperFunc
|
|
golint:
|
|
min-confidence: 0.5
|
|
govet:
|
|
check-shadowing: true
|
|
lll:
|
|
line-length: 140
|
|
maligned:
|
|
suggest-new: true
|
|
misspell:
|
|
locale: US
|
|
nolintlint:
|
|
allow-leading-space: false
|
|
allow-unused: false
|
|
require-specific: true
|
|
|
|
require-explanation: true
|
|
allow-no-explanation:
|
|
- gocyclo
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- deadcode
|
|
- depguard
|
|
- dogsled
|
|
- dupl
|
|
- errcheck
|
|
- gochecknoinits
|
|
- gocritic
|
|
- gocyclo
|
|
- gofmt
|
|
- goimports
|
|
- golint
|
|
- goprintffuncname
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- interfacer
|
|
- lll
|
|
- misspell
|
|
- nakedret
|
|
- nolintlint
|
|
- rowserrcheck
|
|
- staticcheck
|
|
- structcheck
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varcheck
|
|
- whitespace
|
|
|
|
# don't enable:
|
|
# - asciicheck
|
|
# - gochecknoglobals
|
|
# - gocognit
|
|
# - godot
|
|
# - godox
|
|
# - goerr113
|
|
# - maligned
|
|
# - nestif
|
|
# - prealloc
|
|
# - testpackage
|
|
# - wsl
|
|
|
|
issues:
|
|
exclude-use-default: false
|
|
max-issues-per-linter: 0
|
|
max-same-issues: 0
|