.
,-. ,-. . . ,-. ,-. ,-.    ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . .

`-. | | | | | | |-' | | | | | | | | | | | | | | | | |

`-' `-' `-^ ' `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-|

/| `-'
Profile for ckaznocha

ckaznocha / cliftons-capsule

Clifton's personal Gemini Capsule.

git clone https://source.community/ckaznocha/cliftons-capsule.git
🐙 Branches
📝 Log
🌳 File Tree

/.golangci.yml (main)

↑ /

Blob

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:"
────╯

· · ·

🏡 Home
🙋 FAQs
🕵️ Privacy Policy
🤝 Terms & Conditions
💎 Official Gemlog
info@source.community

© 2025 source.community