linters:
enable:
- revive
- exhaustruct
- nakedret
- gomoddirectives
- importas
- misspell
- promlinter
- prealloc
- predeclared
- stylecheck
- ineffassign
- dupl
- govet
- staticcheck
- unused
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- durationcheck
- errcheck
- testifylint
linters-settings:
revive:
ignore-generated-header: true
severity: warning
rules:
- name: blank-imports
disabled: true
staticcheck:
checks:
- "-SA4006"
gosimple:
- "-S1002"
exhaustruct:
include:
- ".*Service"
- ".*Server.*"
exclude:
- ".*mutex"
stylecheck:
- "-ST1003"
dupl:
threshold: 180