linters: enable: - gosimple - deadcode - typecheck - govet - errcheck - staticcheck - unused - structcheck - varcheck - golint - dupl - gofmt - misspell - gocritic enable-all: false disable-all: true fast: false linters-settings: gocritic: disabled-checks: - ifElseChain - singleCaseSwitch # Every time this occured in the code, there was no other way.