2024-03-06 20:05:45 +03:00
|
|
|
linters-settings:
|
|
|
|
govet:
|
|
|
|
check-shadowing: true
|
|
|
|
golint:
|
|
|
|
min-confidence: 0
|
|
|
|
gocyclo:
|
2024-04-26 12:31:10 +03:00
|
|
|
min-complexity: 45
|
2024-03-06 20:05:45 +03:00
|
|
|
maligned:
|
|
|
|
suggest-new: true
|
|
|
|
dupl:
|
2024-04-26 12:31:10 +03:00
|
|
|
threshold: 200
|
2024-03-06 20:05:45 +03:00
|
|
|
goconst:
|
|
|
|
min-len: 3
|
2024-04-26 12:31:10 +03:00
|
|
|
min-occurrences: 3
|
2024-03-06 20:05:45 +03:00
|
|
|
|
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
|
|
|
- maligned
|
|
|
|
- lll
|
|
|
|
- gochecknoinits
|
|
|
|
- gochecknoglobals
|
2024-04-26 12:31:10 +03:00
|
|
|
- funlen
|
|
|
|
- godox
|
|
|
|
- gocognit
|
|
|
|
- whitespace
|
|
|
|
- wsl
|
2024-03-06 20:05:45 +03:00
|
|
|
- wrapcheck
|
2024-04-26 12:31:10 +03:00
|
|
|
- testpackage
|
|
|
|
- nlreturn
|
2024-03-06 20:05:45 +03:00
|
|
|
- gomnd
|
|
|
|
- exhaustivestruct
|
|
|
|
- goerr113
|
2024-04-26 12:31:10 +03:00
|
|
|
- errorlint
|
2024-03-06 20:05:45 +03:00
|
|
|
- nestif
|
2024-04-26 12:31:10 +03:00
|
|
|
- godot
|
|
|
|
- gofumpt
|
2024-03-06 20:05:45 +03:00
|
|
|
- paralleltest
|
2024-04-26 12:31:10 +03:00
|
|
|
- tparallel
|
2024-03-06 20:05:45 +03:00
|
|
|
- thelper
|
|
|
|
- ifshort
|
|
|
|
- exhaustruct
|
2024-04-26 12:31:10 +03:00
|
|
|
- varnamelen
|
|
|
|
- gci
|
|
|
|
- depguard
|
|
|
|
- errchkjson
|
|
|
|
- inamedparam
|
2024-03-06 20:05:45 +03:00
|
|
|
- nonamedreturns
|
2024-04-26 12:31:10 +03:00
|
|
|
- musttag
|
|
|
|
- ireturn
|
|
|
|
- forcetypeassert
|
|
|
|
- cyclop
|
|
|
|
# deprecated linters
|
|
|
|
- deadcode
|
|
|
|
- interfacer
|
|
|
|
- scopelint
|
|
|
|
- varcheck
|
|
|
|
- structcheck
|
|
|
|
- golint
|
2024-03-06 20:05:45 +03:00
|
|
|
- nosnakecase
|