Files
encoding/.golangci.yml
andrey 3bb09b70d7
All checks were successful
Go Action / goaction (push) Successful in 33s
update lint and dependency (#2)
Reviewed-on: #2
2025-12-23 23:25:07 +03:00

56 lines
897 B
YAML

version: "2"
linters:
default: all
disable:
- wrapcheck
- wsl
- depguard
- revive
settings:
dupl:
threshold: 100
funlen:
lines: 100
statements: 50
goconst:
min-len: 2
min-occurrences: 2
gocyclo:
min-complexity: 15
lll:
line-length: 140
misspell:
locale: US
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- linters:
- mnd
path: _test\.go
- linters:
- exhaustivestruct
- mnd
path: _suite\.go
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gci
- gofmt
- gofumpt
- goimports
- golines
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$