ci(lint): setup golangci-lint

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2023-02-28 22:27:25 +00:00
parent 86e39cfe3c
commit d12b81dec5
110 changed files with 419 additions and 479 deletions

21
.golangci.yml Normal file
View File

@ -0,0 +1,21 @@
linters:
enable:
- gci
- gofumpt
- misspell
disable:
- errcheck
- gosimple
- ineffassign
- staticcheck
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/containernetworking)
run:
skip-dirs:
- vendor