github.com/stealthrocket/wzprof@v0.2.1-0.20230830205924-5fa86be5e5b3/.golangci.yml (about)

     1  run:
     2    deadline: 7m
     3    timeout: 5m
     4    go: '1.20'
     5  
     6  linters:
     7    enable:
     8      - depguard
     9      - godot
    10      - goimports
    11      - revive
    12      - whitespace
    13  
    14  issues:
    15    exclude-rules:
    16      - path: _test.go
    17        linters:
    18          - errcheck
    19  
    20  linters-settings:
    21    depguard:
    22      list-type: blacklist
    23      include-go-root: true
    24      packages-with-error-message: []
    25    errcheck:
    26    goimports:
    27      local-prefixes: github.com/stealthrocket/wzprof
    28    misspell:
    29      locale: US
    30    revive:
    31      rules:
    32        # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unexported-return
    33        - name: unexported-return
    34          severity: warning
    35          disabled: true