github.com/lyraproj/hiera@v1.0.0-rc4/.golangci.yml (about)

     1  issues:
     2    exclude-use-default: false
     3    exclude-rules:
     4      - path: _test\.go
     5        linters:
     6          - funlen
     7          - goconst
     8          - lll
     9          - dupl
    10  
    11  linters-settings:
    12    gocyclo:
    13      min-complexity: 15
    14  
    15    lll:
    16      line-length: 140
    17      tab-width: 2
    18  
    19  linters:
    20    disable-all: true
    21    enable:
    22      - bodyclose
    23      - deadcode
    24      - depguard
    25      - dogsled
    26      - dupl
    27      - errcheck
    28      - funlen
    29      - gocognit
    30      - goconst
    31      - gocritic
    32      - gocyclo
    33      - godox
    34      - gofmt
    35      - goimports
    36      - golint
    37      - gosimple
    38      - govet
    39      - ineffassign
    40      - lll
    41      - maligned
    42      - misspell
    43      - nakedret
    44      - prealloc
    45      - scopelint
    46      - staticcheck
    47      - structcheck
    48      - stylecheck
    49      - typecheck
    50      - unconvert
    51      - unparam
    52      - unused
    53      - varcheck
    54      - whitespace
    55  
    56    # don't enable:
    57    # - gochecknoglobals
    58    # - gochecknoinits
    59    # - interfacer
    60    # - gosec