1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
linters: disable: - structcheck # gives false positives enable: - gofumpt - thelper - goimports - tparallel - wastedassign - exportloopref - unparam - prealloc - unconvert - exhaustive - makezero # - goconst # TODO: enable and fix issues fast: false linters-settings: exhaustive: default-signifies-exhaustive: true run: go: 1.18