๐Ÿ’พ Archived View for source.community โ€บ ckaznocha โ€บ gemini โ€บ blob โ€บ main โ€บ .golangci.yml captured on 2022-01-08 at 13:43:08. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2021-12-17)

โžก๏ธ Next capture (2023-01-29)

๐Ÿšง View Differences

-=-=-=-=-=-=-

                                                         .
,-. ,-. . . ,-. ,-. ,-.    ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . .
`-. | | | | |   |   |-'    |   | | | | | | | | | | | | | |  | |
`-' `-' `-^ '   `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-|
                                                             /|
                                                            `-'

Profile for ckaznocha

ckaznocha / gemini

git clone https://source.community/ckaznocha/gemini.git

Branches

Log

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โ”‚       - sloppyReassign
  21โ”‚       - dupImport # https://github.com/go-critic/go-critic/issues/845
  22โ”‚   gocyclo:
  23โ”‚     min-complexity: 15
  24โ”‚   cyclop:
  25โ”‚     max-complexity: 15
  26โ”‚     skip-tests: true
  27โ”‚   goimports:
  28โ”‚     local-prefixes: source.community/ckaznocha
  29โ”‚   gomnd:
  30โ”‚     settings:
  31โ”‚       mnd:
  32โ”‚         # don't include the "operation" and "assign"
  33โ”‚         checks: [argument,case,condition,return]
  34โ”‚   govet:
  35โ”‚     check-shadowing: true
  36โ”‚     enable-all: true
  37โ”‚   lll:
  38โ”‚     line-length: 140
  39โ”‚   maligned:
  40โ”‚     suggest-new: true
  41โ”‚   misspell:
  42โ”‚     locale: UK
  43โ”‚   testpackage:
  44โ”‚     # regexp pattern to skip files
  45โ”‚     skip-regexp: (export|internal)_test\.go
  46โ”‚ 
  47โ”‚ linters:
  48โ”‚   disable-all: true
  49โ”‚   enable:
  50โ”‚     - asciicheck
  51โ”‚     - bodyclose
  52โ”‚     - cyclop
  53โ”‚     - deadcode
  54โ”‚     - depguard
  55โ”‚     - dupl
  56โ”‚     - durationcheck
  57โ”‚     - errcheck
  58โ”‚     - errname
  59โ”‚     - errorlint
  60โ”‚     - exhaustive
  61โ”‚     - exportloopref
  62โ”‚     - forbidigo
  63โ”‚     - forcetypeassert
  64โ”‚     - funlen
  65โ”‚     - gci
  66โ”‚     - gochecknoglobals
  67โ”‚     - gochecknoinits
  68โ”‚     - goconst
  69โ”‚     - gocritic
  70โ”‚     - gocyclo
  71โ”‚     - goerr113
  72โ”‚     - gofmt
  73โ”‚     - gofumpt
  74โ”‚     - goheader
  75โ”‚     - goimports
  76โ”‚     - gomnd
  77โ”‚     - gomoddirectives
  78โ”‚     - gomodguard
  79โ”‚     - goprintffuncname
  80โ”‚     - gosec
  81โ”‚     - gosimple
  82โ”‚     - govet
  83โ”‚     - ifshort
  84โ”‚     - importas
  85โ”‚     - ineffassign
  86โ”‚     - lll
  87โ”‚     - makezero
  88โ”‚     # - misspell
  89โ”‚     - nakedret
  90โ”‚     - nilerr
  91โ”‚     - nlreturn
  92โ”‚     - noctx
  93โ”‚     - nolintlint
  94โ”‚     - paralleltest
  95โ”‚     - prealloc
  96โ”‚     - predeclared
  97โ”‚     - revive
  98โ”‚     - rowserrcheck
  99โ”‚     - staticcheck
 100โ”‚     - structcheck
 101โ”‚     - stylecheck
 102โ”‚     - tagliatelle
 103โ”‚     - testpackage
 104โ”‚     - thelper
 105โ”‚     - tparallel
 106โ”‚     - typecheck
 107โ”‚     - unconvert
 108โ”‚     - unparam
 109โ”‚     - unused
 110โ”‚     - varcheck
 111โ”‚     - wastedassign
 112โ”‚     - whitespace
 113โ”‚     - wrapcheck
 114โ”‚     - wsl
 115โ”‚     # - dogsled
 116โ”‚     # - exhaustivestruct
 117โ”‚     # - gocognit
 118โ”‚     # - godot
 119โ”‚     # - godox
 120โ”‚     # - golint
 121โ”‚     # - interfacer
 122โ”‚     # - maligned
 123โ”‚     # - nestif
 124โ”‚     # - promlinter
 125โ”‚     # - scopelint
 126โ”‚     # - sqlclosecheck
 127โ”‚ 
 128โ”‚ issues:
 129โ”‚   exclude-use-default: false
 130โ”‚   exclude-case-sensitive: false
 131โ”‚   max-issues-per-linter: 50
 132โ”‚   max-same-issues: 3
 133โ”‚   new: false
 134โ”‚    # Excluding configuration per-path, per-linter, per-text and per-source
 135โ”‚   exclude-rules:
 136โ”‚     # Exclude some linters from running on tests files.
 137โ”‚     - path: _test\.go
 138โ”‚       linters:
 139โ”‚         - cyclop
 140โ”‚         - gocyclo
 141โ”‚         - errcheck
 142โ”‚         - dupl
 143โ”‚         - gosec
 144โ”‚         - funlen
 145โ”‚     - path: _test\.go
 146โ”‚       linters:
 147โ”‚         - govet
 148โ”‚       text: "fieldalignment:"
โ”€โ”€โ”€โ”€โ•ฏ

ยท ยท ยท

๐Ÿก Home

FAQs

Privacy Policy

Terms & Conditions

Official Gemlog

info@source.community

ยฉ 2022 source.community