run: timeout: 10m go: '1.23.5' issues: exclude-files: - validator/web/site_data.go - .*_test.go exclude-dirs: - proto - tools/analyzers linters: enable-all: true disable: # Deprecated linters: - govet # Disabled for now: - asasalint - bodyclose - containedctx - contextcheck - cyclop - depguard - dogsled - dupl - durationcheck - errname - err113 - exhaustive - exhaustruct - forbidigo - forcetypeassert - funlen - gci - gochecknoglobals - gochecknoinits - goconst - gocritic - gocyclo - godot - godox - gofumpt - gomoddirectives - gosec - inamedparam - interfacebloat - intrange - ireturn - lll - maintidx - makezero - mnd - musttag - nakedret - nestif - nilnil - nlreturn - noctx - nolintlint - nonamedreturns - nosprintfhostport - perfsprint - prealloc - predeclared - promlinter - protogetter - recvcheck - revive - spancheck - staticcheck - stylecheck - tagalign - tagliatelle - thelper - unparam - usetesting - varnamelen - wrapcheck - wsl linters-settings: gocognit: # TODO: We should target for < 50 min-complexity: 65 output: print-issued-lines: true sort-results: true