add .golangci.yml

Signed-off-by: Egor Kovetskiy <e.kovetskiy@gmail.com>
This commit is contained in:
Egor Kovetskiy 2023-05-23 06:56:52 +00:00
parent 6d8d70a415
commit 5cef9b651b

23
.golangci.yml Normal file
View File

@ -0,0 +1,23 @@
linters:
disable-all: true
enable:
- govet
- gofmt
- errcheck
- deadcode
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- unconvert
- unparam
- whitespace
- wsl
- nlreturn
- nonamedreturns
issues:
exclude:
- SA1029 # "should not use built-in type string as key for value; define your own type to avoid collisions"