Files
anon3anon/.golangci.yml
T
2025-10-24 13:27:38 +03:00

71 lines
1020 B
YAML

version: "2"
run:
timeout: 5m
issues-exit-code: 1
linters:
enable:
- errcheck
- govet
- ineffassign
- staticcheck
- unused
- bodyclose
- importas
- dogsled
- dupl
- gochecknoinits
- gocognit
- gocritic
- gocyclo
- revive
- gosec
- misspell
- nakedret
- prealloc
- unconvert
- whitespace
- rowserrcheck
- goconst
- asciicheck
- nestif
- copyloopvar
- sqlclosecheck
settings:
govet:
enable:
- shadow
gocritic:
disabled-checks:
- sloppyReassign
- whyNoLint
enabled-tags:
- experimental
- opinionated
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$