golangci-lint in CI

This commit is contained in:
Neil Alexander 2020-09-27 13:51:34 +01:00
parent 48bf0ce210
commit f0275b01b6
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 15 additions and 0 deletions

9
.golangci.yml Normal file
View file

@ -0,0 +1,9 @@
---
run:
issues-exit-code: 0 # TODO: change this to 1 when we want it to fail builds
skip-dirs:
- contrib/
- misc/
linters:
disable:
- gocyclo