Files
gf-lt/.golangci.yml
2026-02-06 11:32:06 +03:00

51 lines
809 B
YAML

version: "2"
run:
timeout: 1m
concurrency: 4
tests: false
linters:
default: none
enable:
- bodyclose
- errcheck
- fatcontext
- govet
- ineffassign
- perfsprint
- prealloc
- staticcheck
- unused
- gocritic
- unconvert
- wastedassign
settings:
gocritic:
enabled-tags:
- performance
funlen:
lines: 80
statements: 50
lll:
line-length: 80
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
issues:
max-issues-per-linter: 0
max-same-issues: 0
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$