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