|
|
@ -13,7 +13,7 @@ linters:
|
|
|
|
#- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
|
|
|
|
#- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
|
|
|
|
- gofmt
|
|
|
|
- gofmt
|
|
|
|
- misspell
|
|
|
|
- misspell
|
|
|
|
#- gocritic # TODO: disabled until fixed with go 1.18
|
|
|
|
- gocritic
|
|
|
|
- bidichk
|
|
|
|
- bidichk
|
|
|
|
- ineffassign
|
|
|
|
- ineffassign
|
|
|
|
- revive
|
|
|
|
- revive
|
|
|
@ -23,6 +23,7 @@ linters:
|
|
|
|
fast: false
|
|
|
|
fast: false
|
|
|
|
|
|
|
|
|
|
|
|
run:
|
|
|
|
run:
|
|
|
|
|
|
|
|
go: 1.18
|
|
|
|
timeout: 10m
|
|
|
|
timeout: 10m
|
|
|
|
skip-dirs:
|
|
|
|
skip-dirs:
|
|
|
|
- node_modules
|
|
|
|
- node_modules
|
|
|
|