github.com/ffalor/go-swagger@v0.0.0-20231011000038-9f25265ac351/.golangci.yml (about)

     1  linters-settings:
     2    govet:
     3      check-shadowing: true
     4    golint:
     5      min-confidence: 0
     6    gocyclo:
     7      min-complexity: 25
     8    maligned:
     9      suggest-new: true
    10    dupl:
    11      threshold: 200
    12    goconst:
    13      min-len: 2
    14      min-occurrences: 2
    15  
    16  run:
    17    skip-dirs:
    18      - playground
    19      - fixtures
    20      - cmd
    21    timeout: 5m
    22  
    23  linters:
    24    enable:
    25      - revive
    26      - gocritic
    27      - stylecheck
    28      # - goimports
    29      - gosec
    30      - unconvert
    31    disable:
    32      - maligned
    33      - unparam
    34      - lll
    35      - gochecknoinits
    36      - gochecknoglobals
    37      - dupl
    38      - nakedret
    39