github.com/yaling888/clash@v1.53.0/.golangci.yaml (about)

     1  linters:
     2    disable-all: true
     3    enable:
     4      - copyloopvar
     5      - gci
     6      - gofumpt
     7      - gosimple
     8      - govet
     9      - ineffassign
    10      - misspell
    11      - staticcheck
    12      - unconvert
    13      - unused
    14      - usestdlibvars
    15  
    16  linters-settings:
    17    gci:
    18      sections:
    19        - standard
    20        - prefix(github.com/yaling888/clash)
    21        - default
    22  
    23  run:
    24    # default concurrency is a available CPU number
    25    concurrency: 4
    26  
    27    # Define the Go version limit.
    28    # Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17
    29    # go: '1.22'
    30  
    31    # timeout for analysis, e.g. 30s, 5m, default is 1m
    32    timeout: 5m