2024-02-24 21:00:04 +00:00
|
|
|
run:
|
|
|
|
deadline: 6m
|
|
|
|
skip-dirs:
|
|
|
|
- terst
|
|
|
|
skip-files:
|
|
|
|
- dbg/dbg.go
|
2024-04-04 14:46:14 +00:00
|
|
|
- token/token_const.go
|
2024-02-24 21:00:04 +00:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
govet:
|
|
|
|
check-shadowing: false
|
|
|
|
goconst:
|
|
|
|
min-len: 2
|
|
|
|
min-occurrences: 4
|
2024-04-04 14:46:14 +00:00
|
|
|
revive:
|
|
|
|
enable-all-rules: false
|
|
|
|
rules:
|
|
|
|
- name: var-naming
|
|
|
|
disabled: true
|
2024-02-24 21:00:04 +00:00
|
|
|
|
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
|
|
|
- dupl
|
|
|
|
- lll
|
|
|
|
- gochecknoglobals
|
|
|
|
- gochecknoinits
|
|
|
|
- scopelint
|
|
|
|
- funlen
|
|
|
|
- godox
|
|
|
|
- exhaustivestruct
|
|
|
|
- goerr113
|
|
|
|
- wsl
|
|
|
|
- nlreturn
|
|
|
|
- gomnd
|
|
|
|
- paralleltest
|
|
|
|
- wrapcheck
|
|
|
|
- testpackage
|
|
|
|
- gocognit
|
|
|
|
- nestif
|
|
|
|
- exhaustive
|
|
|
|
- forcetypeassert
|
|
|
|
- gocyclo
|
|
|
|
- cyclop
|
|
|
|
- varnamelen
|
|
|
|
- maintidx
|
|
|
|
- ireturn
|
|
|
|
- exhaustruct
|
|
|
|
- nosnakecase
|
|
|
|
- dupword
|
2024-04-04 14:46:14 +00:00
|
|
|
- structcheck
|
|
|
|
- deadcode
|
|
|
|
- golint
|
|
|
|
- varcheck
|
|
|
|
- ifshort
|
|
|
|
- interfacer
|
|
|
|
- maligned
|
|
|
|
# Just causes noise
|
|
|
|
- depguard
|
2024-02-24 21:00:04 +00:00
|
|
|
|
2024-04-04 14:46:14 +00:00
|
|
|
issues:
|
|
|
|
exclude-use-default: false
|
|
|
|
max-same-issues: 0
|
|
|
|
exclude:
|
|
|
|
- Deferring unsafe method "Close" on type "io\.ReadCloser"
|