mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
add .golangci.yml
Signed-off-by: Egor Kovetskiy <e.kovetskiy@gmail.com>
This commit is contained in:
parent
6d8d70a415
commit
5cef9b651b
23
.golangci.yml
Normal file
23
.golangci.yml
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user