github.com/pokt-network/tendermint@v0.32.11-0.20230426215212-59310158d3e9/.golangci.yml (about)

     1  linters:
     2    enable:
     3      - bodyclose
     4      - deadcode
     5      - depguard
     6      - dogsled
     7      - dupl
     8      # - errcheck
     9      # - funlen
    10      # - gochecknoglobals
    11      # - gochecknoinits
    12      - goconst
    13      - gocritic
    14      # - gocyclo
    15      # - godox
    16      - gofmt
    17      - goimports
    18      - golint
    19      - gosec
    20      - gosimple
    21      - govet
    22      - ineffassign
    23      - interfacer
    24      - lll
    25      - misspell
    26      # - maligned
    27      - nakedret
    28      - prealloc
    29      - scopelint
    30      - staticcheck
    31      - structcheck
    32      - stylecheck
    33      - typecheck
    34      - unconvert
    35      # - unparam
    36      - unused
    37      - varcheck
    38      # - whitespace
    39      # - wsl
    40      # - gocognit
    41    disable:
    42      - errcheck
    43  
    44  issues:
    45    exclude-rules:
    46      - linters:
    47          - lll
    48        source: "https://"
    49  
    50  linters-settings:
    51    dogsled:
    52      max-blank-identifiers: 3
    53    maligned:
    54      suggest-new: true
    55    # govet:
    56    #   check-shadowing: true
    57    golint:
    58      min-confidence: 0
    59  #   gocyclo:
    60  #     min-complexity: 10
    61  #   misspell:
    62  #     locale: US
    63  #   gocritic:
    64  #     enabled-tags:
    65  #       - performance
    66  #       - style
    67  #       - experimental
    68  #     disabled-checks:
    69  #       - wrapperFunc
    70  #       - commentFormatting # https://github.com/go-critic/go-critic/issues/755