💾 Archived View for source.community › ckaznocha › cliftons-capsule › raw › main › .golangci.yml captured on 2024-08-25 at 02:12:11.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
linters-settings: dupl: threshold: 100 funlen: lines: 100 statements: 50 gci: local-prefixes: source.community/ckaznocha goconst: min-len: 2 min-occurrences: 2 gocritic: enabled-tags: - diagnostic - experimental - opinionated - performance - style disabled-checks: - dupImport # https://github.com/go-critic/go-critic/issues/845 gocyclo: min-complexity: 15 goimports: local-prefixes: source.community/ckaznocha gomnd: settings: mnd: # don't include the "operation" and "assign" checks: [argument,case,condition,return] govet: check-shadowing: true enable-all: true lll: line-length: 140 maligned: suggest-new: true misspell: locale: UK testpackage: # regexp pattern to skip files skip-regexp: (export|internal)_test\.go linters: disable-all: true enable: - asciicheck - bodyclose - cyclop - deadcode - depguard - dupl - durationcheck - errcheck - errname - errorlint - exhaustive - exportloopref - forbidigo - forcetypeassert - funlen - gci - gochecknoglobals - gochecknoinits - goconst - gocritic - gocyclo - goerr113 - gofmt - gofumpt - goheader - goimports - gomnd - gomoddirectives - gomodguard - goprintffuncname - gosec - gosimple - govet - ifshort - importas - ineffassign - lll - makezero - misspell - nakedret - nilerr - nlreturn - noctx - nolintlint - paralleltest - prealloc - predeclared - revive - rowserrcheck - staticcheck - structcheck - stylecheck - tagliatelle - testpackage - thelper - tparallel - typecheck - unconvert - unparam - unused - varcheck - wastedassign - whitespace - wrapcheck - wsl # - dogsled # - exhaustivestruct # - gocognit # - godot # - godox # - golint # - interfacer # - maligned # - nestif # - promlinter # - scopelint # - sqlclosecheck issues: exclude-use-default: false exclude-case-sensitive: false max-issues-per-linter: 50 max-same-issues: 3 new: false # Excluding configuration per-path, per-linter, per-text and per-source exclude-rules: # Exclude some linters from running on tests files. - path: _test\.go linters: - cyclop - gocyclo - errcheck - dupl - gosec - funlen - path: _test\.go linters: - govet text: "fieldalignment:"