github.com/onflow/atree@v0.6.0/.golangci.yml (about)

     1  # .golangci.yml for github.com/onflow/atree
     2  
     3  linters:
     4    disable-all: true
     5    enable:
     6      # enable default linters
     7      - errcheck
     8      - gosimple
     9      - govet
    10      - ineffassign
    11      - staticcheck
    12      - typecheck
    13      - unused
    14  
    15      # enable extra linters
    16      - exportloopref
    17      - gocritic
    18      - gofmt
    19      - goimports
    20      - misspell
    21      - nilerr
    22      - unconvert
    23  
    24  issues:
    25    max-issues-per-linter: 0
    26    max-same-issues: 0
    27  
    28  linters-settings:
    29    gocritic:
    30      disabled-checks:
    31        - ifElseChain        # style
    32        - singleCaseSwitch   # style
    33        - unslice            # false positives
    34        - commentFormatting  # does not detect commented out code
    35        - exitAfterDefer
    36  
    37    goimports:
    38      local-prefixes: github.com/onflow/atree