Linter fixes #2

Merged
realloc merged 1 commit from fyrchik/basic:linter-fixes into master 2023-07-26 21:08:06 +00:00

View file

@ -37,17 +37,12 @@ linters:
# mandatory linters # mandatory linters
- govet - govet
- revive - revive
# some default golangci-lint linters
- errcheck - errcheck
- gosimple - gosimple
- godot
- ineffassign - ineffassign
- staticcheck - staticcheck
- typecheck - typecheck
- unused - unused
# extra linters
- bidichk - bidichk
- durationcheck - durationcheck
- exhaustive - exhaustive
@ -55,9 +50,12 @@ linters:
- gofmt - gofmt
- goimports - goimports
- misspell - misspell
- whitespace
# extra linters
- godot
- predeclared - predeclared
- reassign - reassign
- whitespace
- containedctx - containedctx
- funlen - funlen
- gocognit - gocognit