github.com/v2fly/v2ray-core/v4@v4.45.2/.github/linters/.golangci.yml (about)

     1  run:
     2    timeout: 5m
     3    skip-files:
     4      - generated.*
     5  issues:
     6    new: true
     7    exclude-rules:
     8      - linters:
     9          - staticcheck
    10        text: "SA1019:"
    11  linters:
    12    enable:
    13      - asciicheck
    14      - bodyclose
    15      - depguard
    16      - gocritic
    17      - gofmt
    18      - gofumpt
    19      - goimports
    20      - goprintffuncname
    21      - gosimple
    22      - govet
    23      - ineffassign
    24      - misspell
    25      - nakedret
    26      - revive
    27      - rowserrcheck
    28      - staticcheck
    29      - structcheck
    30      - stylecheck
    31      - typecheck
    32      - unconvert
    33      - unparam
    34      - varcheck
    35      - whitespace
    36    disable:
    37      - deadcode
    38      - errcheck
    39      - unused
    40  linters-settings:
    41    goimports:
    42      local-prefixes: github.com/v2fly/v2ray-core
    43    revive:
    44      rules:
    45        - name: blank-imports
    46          severity: warning
    47          disabled: true