๐พ Archived View for source.community โบ ckaznocha โบ cliftons-capsule โบ blob โบ main โบ .golangci.yml captured on 2023-01-29 at 03:36:03. Gemini links have been rewritten to link to archived content
โฌ ๏ธ Previous capture (2022-01-08)
โก๏ธ Next capture (2024-02-05)
-=-=-=-=-=-=-
. ,-. ,-. . . ,-. ,-. ,-. ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . . `-. | | | | | | |-' | | | | | | | | | | | | | | | | | `-' `-' `-^ ' `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-| /| `-'
git clone https://source.community/ckaznocha/cliftons-capsule.git
View raw contents of /.golangci.yml (main)
โโโโโฎ 1โ linters-settings: 2โ dupl: 3โ threshold: 100 4โ funlen: 5โ lines: 100 6โ statements: 50 7โ gci: 8โ local-prefixes: source.community/ckaznocha 9โ goconst: 10โ min-len: 2 11โ min-occurrences: 2 12โ gocritic: 13โ enabled-tags: 14โ - diagnostic 15โ - experimental 16โ - opinionated 17โ - performance 18โ - style 19โ disabled-checks: 20โ - dupImport # https://github.com/go-critic/go-critic/issues/845 21โ gocyclo: 22โ min-complexity: 15 23โ goimports: 24โ local-prefixes: source.community/ckaznocha 25โ gomnd: 26โ settings: 27โ mnd: 28โ # don't include the "operation" and "assign" 29โ checks: [argument,case,condition,return] 30โ govet: 31โ check-shadowing: true 32โ enable-all: true 33โ lll: 34โ line-length: 140 35โ maligned: 36โ suggest-new: true 37โ misspell: 38โ locale: UK 39โ testpackage: 40โ # regexp pattern to skip files 41โ skip-regexp: (export|internal)_test\.go 42โ 43โ linters: 44โ disable-all: true 45โ enable: 46โ - asciicheck 47โ - bodyclose 48โ - cyclop 49โ - deadcode 50โ - depguard 51โ - dupl 52โ - durationcheck 53โ - errcheck 54โ - errname 55โ - errorlint 56โ - exhaustive 57โ - exportloopref 58โ - forbidigo 59โ - forcetypeassert 60โ - funlen 61โ - gci 62โ - gochecknoglobals 63โ - gochecknoinits 64โ - goconst 65โ - gocritic 66โ - gocyclo 67โ - goerr113 68โ - gofmt 69โ - gofumpt 70โ - goheader 71โ - goimports 72โ - gomnd 73โ - gomoddirectives 74โ - gomodguard 75โ - goprintffuncname 76โ - gosec 77โ - gosimple 78โ - govet 79โ - ifshort 80โ - importas 81โ - ineffassign 82โ - lll 83โ - makezero 84โ - misspell 85โ - nakedret 86โ - nilerr 87โ - nlreturn 88โ - noctx 89โ - nolintlint 90โ - paralleltest 91โ - prealloc 92โ - predeclared 93โ - revive 94โ - rowserrcheck 95โ - staticcheck 96โ - structcheck 97โ - stylecheck 98โ - tagliatelle 99โ - testpackage 100โ - thelper 101โ - tparallel 102โ - typecheck 103โ - unconvert 104โ - unparam 105โ - unused 106โ - varcheck 107โ - wastedassign 108โ - whitespace 109โ - wrapcheck 110โ - wsl 111โ # - dogsled 112โ # - exhaustivestruct 113โ # - gocognit 114โ # - godot 115โ # - godox 116โ # - golint 117โ # - interfacer 118โ # - maligned 119โ # - nestif 120โ # - promlinter 121โ # - scopelint 122โ # - sqlclosecheck 123โ 124โ issues: 125โ exclude-use-default: false 126โ exclude-case-sensitive: false 127โ max-issues-per-linter: 50 128โ max-same-issues: 3 129โ new: false 130โ # Excluding configuration per-path, per-linter, per-text and per-source 131โ exclude-rules: 132โ # Exclude some linters from running on tests files. 133โ - path: _test\.go 134โ linters: 135โ - cyclop 136โ - gocyclo 137โ - errcheck 138โ - dupl 139โ - gosec 140โ - funlen 141โ - path: _test\.go 142โ linters: 143โ - govet 144โ text: "fieldalignment:" โโโโโฏ
ยท ยท ยท
ยฉ 2023 source.community