github.com/hairyhenderson/gomplate/v3@v3.11.7/.golangci.yml (about)

     1  linters-settings:
     2    govet:
     3      check-shadowing: true
     4      enable-all: true
     5    golint:
     6      min-confidence: 0
     7    gocyclo:
     8      min-complexity: 10
     9    dupl:
    10      threshold: 100
    11    goconst:
    12      min-len: 2
    13      min-occurrences: 5
    14      ignore-tests: true
    15    lll:
    16      line-length: 140
    17    nolintlint:
    18      allow-leading-space: true # don't require machine-readable nolint directives (i.e. with no leading space)
    19      allow-unused: false # report any unused nolint directives
    20      require-explanation: false # don't require an explanation for nolint directives
    21      require-specific: false # don't require nolint directives to be specific about which linter is being skipped
    22  
    23  linters:
    24    disable-all: true
    25    enable:
    26      - asciicheck
    27      - bodyclose
    28      # - dogsled
    29      # - dupl
    30      - errcheck
    31      # - exhaustive
    32      - exportloopref
    33      # - funlen
    34      # - gci
    35      # - gochecknoglobals
    36      # - gochecknoinits
    37      - gocognit
    38      - goconst
    39      - gocritic
    40      # - gocyclo
    41      # - godox
    42      - gofmt
    43      - gofumpt
    44      - goheader
    45      - goimports
    46      # - gomnd
    47      - gomodguard
    48      - goprintffuncname
    49      - gosec
    50      - gosimple
    51      - govet
    52      - ineffassign
    53      # - lll
    54      - misspell
    55      - nakedret
    56      - nestif
    57      # - nlreturn
    58      # - noctx
    59      - nolintlint
    60      - prealloc
    61      - revive
    62      - rowserrcheck
    63      - sqlclosecheck
    64      - staticcheck
    65      - stylecheck
    66      - typecheck
    67      - unconvert
    68      # - unparam
    69      - unused
    70      - whitespace
    71      # - wsl
    72  
    73  issues:
    74    exclude-rules:
    75      - path: _test\.go
    76        linters:
    77          - errcheck
    78  
    79  run:
    80    concurrency: 4
    81    timeout: 5m