# golangci-lint configuration for gitflow. # Docs: https://golangci-lint.run/usage/configuration/ run: timeout: 5m linters: enable: - errcheck # unchecked errors - govet # go vet - staticcheck # static analysis - gosimple # simplify code - ineffassign # ineffective assignments - unused # unused declarations - misspell # typos in comments/strings - gofmt # formatting - goimports # import grouping issues: exclude-rules: # Tests may use underscores to match fixture naming. - path: _test\.go linters: - errcheck