version: 2 run: timeout: 5m go: '1.24' linters-settings: errcheck: check-type-assertions: true check-blank: true govet: enable-all: true disable: - shadow gocyclo: min-complexity: 15 dupl: threshold: 100 goconst: min-len: 3 min-occurrences: 3 lll: line-length: 120 unparam: check-exported: false nakedret: max-func-lines: 30 prealloc: simple: true range-loops: true for-loops: false gocritic: enabled-tags: - diagnostic - experimental - opinionated - performance - style funlen: lines: 100 statements: 50 godox: keywords: - NOTE - OPTIMIZE - HACK dogsled: max-blank-identifiers: 2 whitespace: multi-if: false multi-func: false linters: disable-all: true enable: - bodyclose - dogsled - dupl - errcheck - funlen - gochecknoinits - goconst - gocritic - gocyclo - godox - goprintffuncname - gosec - govet - ineffassign - lll - misspell - nakedret - noctx - nolintlint - prealloc - revive - staticcheck - unconvert - unparam - unused - whitespace issues: exclude-rules: - path: _test\.go linters: - funlen - goconst - lll - path: pkg/git/test/ linters: - goconst exclude-use-default: false max-issues-per-linter: 0 max-same-issues: 0 output: format: colored-line-number print-issued-lines: true print-linter-name: true