github.com/hamba/slices@v0.2.1-0.20220316050741-75c057d92699/.golangci.yml (about)

     1  run:
     2    tests: false
     3    timeout: 5m
     4  
     5  linters-settings:
     6    cyclop:
     7      max-complexity: 20
     8      skip-tests: true
     9    gofumpt:
    10      extra-rules: true
    11  
    12  linters:
    13    enable-all: true
    14    disable:
    15      - interfacer # deprecated
    16      - scopelint # deprecated
    17      - maligned # deprecated
    18      - golint # deprecated
    19      - dupl
    20      - exhaustive
    21      - exhaustivestruct
    22      - forcetypeassert
    23      - funlen
    24      - gochecknoglobals
    25      - gochecknoinits
    26      - goerr113
    27      - gomnd
    28      - lll
    29      - nlreturn
    30      - wrapcheck
    31      - wsl
    32  
    33  issues:
    34    exclude-use-default: false
    35    exclude-rules:
    36      - path: ptr.go
    37        linters:
    38          - gosec