github.com/ulule/limiter/v3@v3.11.3-0.20230613131926-4cb9c1da4633/.golangci.yml (about)

     1  run:
     2    concurrency: 4
     3    deadline: 1m
     4    issues-exit-code: 1
     5    tests: true
     6  
     7  
     8  output:
     9    format: colored-line-number
    10    print-issued-lines: true
    11    print-linter-name: true
    12  
    13  
    14  linters-settings:
    15    errcheck:
    16      check-type-assertions: false
    17      check-blank: false
    18    govet:
    19      check-shadowing: false
    20      use-installed-packages: false
    21    golint:
    22      min-confidence: 0.8
    23    gofmt:
    24      simplify: true
    25    gocyclo:
    26      min-complexity: 10
    27    maligned:
    28      suggest-new: true
    29    dupl:
    30      threshold: 80
    31    goconst:
    32      min-len: 3
    33      min-occurrences: 3
    34    misspell:
    35      locale: US
    36    lll:
    37      line-length: 140
    38    unused:
    39      check-exported: false
    40    unparam:
    41      algo: cha
    42      check-exported: false
    43    nakedret:
    44      max-func-lines: 30
    45  
    46  linters:
    47    enable:
    48      - megacheck
    49      - govet
    50      - errcheck
    51      - gas
    52      - structcheck
    53      - varcheck
    54      - ineffassign
    55      - deadcode
    56      - typecheck
    57      - unconvert
    58      - gocyclo
    59      - gofmt
    60      - misspell
    61      - lll
    62      - nakedret
    63    enable-all: false
    64    disable:
    65      - depguard
    66      - prealloc
    67      - dupl
    68      - maligned
    69    disable-all: false
    70  
    71  
    72  issues:
    73    exclude-use-default: false
    74    max-per-linter: 1024
    75    max-same: 1024
    76    exclude:
    77      - "G304"
    78      - "G101"
    79      - "G104"