https://github.com/tendermint/tendermint
Raw File
Tip revision: a41c5eec1109121376de3d32379613856d4a47dd authored by Callum Waters on 18 August 2022, 12:34:40 UTC
release: prepare v0.34.21 (#9285)
Tip revision: a41c5ee
.golangci.yml
linters:
  enable:
    - asciicheck
    - bodyclose
    # - deadcode
    - depguard
    - dogsled
    - dupl
    - errcheck
    - exportloopref
    # - funlen
    # - gochecknoglobals
    # - gochecknoinits
    # - gocognit
    - goconst
    # - gocritic
    # - gocyclo
    # - godox
    - gofmt
    - goimports
    - revive
    - gosec
    - gosimple
    - govet
    - ineffassign
    # - interfacer
    - lll
    # - maligned
    # - misspell
    - nakedret
    # - nolintlint
    - prealloc
    - staticcheck
    # - structcheck // to be fixed by golangci-lint
    - stylecheck
    # - typecheck
    - unconvert
    # - unparam
    # - unused
    - varcheck
    # - whitespace
    # - wsl
  disable:
    - unused
    - deadcode
    - nolintlint

issues:
  exclude-rules:
    - path: _test\.go
      linters:
        - gosec
    - linters:
        - lll
      source: "https://"
  max-same-issues: 50

linters-settings:
  dogsled:
    max-blank-identifiers: 3
  maligned:
    suggest-new: true
  # govet:
  #   check-shadowing: true
  revive:
    min-confidence: 0
  misspell:
    locale: US
    ignore-words:
      - behaviour


back to top