golift.io/starr@v1.0.0/.golangci.yml (about)

     1  issues:
     2    exclude-rules:
     3      # Exclude funlen for testing files.
     4      - linters:
     5          - nonamedreturns
     6        path: 'starrcmd/'
     7      - linters:
     8          - gochecknoglobals
     9          - forcetypeassert
    10          - funlen
    11          - lll
    12          - maintidx # uhg.
    13        path: '(.+)_test\.go'
    14      - linters:
    15          - lll
    16        path: 'starrtest/'
    17  
    18  linters:
    19    enable-all: true
    20    disable:
    21      # deprecated
    22      - maligned
    23      - scopelint
    24      - interfacer
    25      - golint
    26      - ifshort
    27      - deadcode
    28      - nosnakecase
    29      - structcheck
    30      - varcheck
    31      # unused
    32      - tagliatelle
    33      - exhaustivestruct
    34      - exhaustruct
    35      - dupl
    36      - nlreturn
    37      - tagalign
    38      - depguard
    39  
    40  #linters-settings:
    41  #  govet:
    42  #    enable:
    43  #      - fieldalignment
    44  
    45  run:
    46    timeout: 5m