robot: Add golangci file

This commit is contained in:
Ettore Di Giacinto 2022-07-16 14:29:22 +00:00 committed by Itxaka
parent 648b755add
commit e9b07938cc

12
.golangci.yml Normal file
View File

@ -0,0 +1,12 @@
run:
timeout: 5m
tests: false
linters:
enable:
- revive # replacement for golint
- dupl # check duplicated code
- goconst # check strings that can turn into constants
- gofmt # check fmt
- goheader # Check license headers, only checks files in current year
- goimports # check imports
- gocyclo # check complexity