version: "2" run: modules-download-mode: readonly tests: true linters: default: none enable: - bodyclose - errcheck - errorlint - govet - ineffassign - misspell - staticcheck - unused settings: errcheck: check-type-assertions: false check-blank: false govet: disable: - fieldalignment - shadow enable-all: true exclusions: generated: lax presets: - comments - common-false-positives - legacy - std-error-handling rules: - linters: - bodyclose - errcheck path: _test\.go paths: - third_party$ - builtin$ - examples$ issues: max-issues-per-linter: 0 max-same-issues: 0 formatters: enable: - gofmt settings: gofmt: simplify: true exclusions: generated: lax paths: - third_party$ - builtin$ - examples$