Update golangci-lint config

This commit is contained in:
Anton Zadvorny 2025-02-03 11:48:33 +03:00
parent 844298f73e
commit fffe71b813

View File

@ -1,15 +1,7 @@
run:
timeout: 5m
output:
format: tab
linters-settings:
govet:
check-shadowing: true
golint:
min-confidence: 0.1
maligned:
suggest-new: true
goconst:
min-len: 2
min-occurrences: 2
@ -23,30 +15,28 @@ linters-settings:
- style
- experimental
disabled-checks:
- unnamedResult
- paramTypeCombine
- unnamedResult
linters:
enable:
- megacheck
- revive
- govet
- unconvert
- megacheck
- unused
- gas
- gocyclo
- copyloopvar
- dupl
- misspell
- unparam
- typecheck
- ineffassign
- stylecheck
- gochecknoinits
- exportloopref
- gocritic
- nakedret
- gocyclo
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- prealloc
- revive
- staticcheck
- stylecheck
- typecheck
- unconvert
- unused
fast: false
disable-all: true