github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/.github/linters/.golangci.yml (about) 1 run: 2 timeout: 5m 3 skip-files: 4 - generated.* 5 - .pb.go 6 7 issues: 8 new: true 9 exclude-rules: 10 - linters: 11 - staticcheck 12 text: "SA1019:" 13 - linters: 14 - stylecheck 15 text: "ST1016:" 16 17 linters: 18 enable: 19 - asciicheck 20 - bodyclose 21 - depguard 22 - gocritic 23 - gofmt 24 - gofumpt 25 - goimports 26 - goprintffuncname 27 - gosimple 28 - govet 29 - ineffassign 30 - misspell 31 - nakedret 32 - revive 33 - rowserrcheck 34 - staticcheck 35 - structcheck 36 - stylecheck 37 - typecheck 38 - unconvert 39 - unparam 40 - varcheck 41 - whitespace 42 disable: 43 - deadcode 44 - errcheck 45 - unused 46 47 linters-settings: 48 goimports: 49 local-prefixes: github.com/v2fly/v2ray-core 50 revive: 51 rules: 52 - name: blank-imports 53 severity: warning 54 disabled: true 55 depguard: 56 rules: 57 Main: 58 deny: 59 - pkg: "github.com/pkg/errors" 60 desc: Should be replaced by standard lib errors package