| 1 | version: "2" |
| 2 | linters: |
| 3 | settings: |
| 4 | depguard: |
| 5 | rules: |
| 6 | main: |
| 7 | deny: |
| 8 | - pkg: ^golang.org/x/net/context$ |
| 9 | - pkg: github.com/gogo/protobuf/proto |
| 10 | - pkg: encoding/asn1 |
| 11 | - pkg: crypto/x509 |
| 12 | gocyclo: |
| 13 | min-complexity: 25 |
| 14 | exclusions: |
| 15 | generated: lax |
| 16 | rules: |
| 17 | - linters: |
| 18 | - staticcheck |
| 19 | text: 'SA1019: grpc.Dial is deprecated: use NewClient instead' |
| 20 | - linters: |
| 21 | - staticcheck |
| 22 | text: 'SA1019: grpc.DialContext is deprecated: use NewClient instead' |
| 23 | - linters: |
| 24 | - staticcheck |
| 25 | text: 'SA1019: grpc.WithBlock is deprecated: this DialOption is not supported by NewClient' |
| 26 | paths: |
| 27 | - (^|/)x509($|/) |
| 28 | - (^|/)x509util($|/) |
| 29 | - (^|/)asn1($|/) |
| 30 | - third_party$ |
| 31 | - builtin$ |
| 32 | - examples$ |
| 33 | formatters: |
| 34 | exclusions: |
| 35 | generated: lax |
| 36 | paths: |
| 37 | - third_party$ |
| 38 | - builtin$ |
| 39 | - examples$ |