| 1 | issues: |
| 2 | exclude-rules: |
| 3 | - linters: |
| 4 | - gosec |
| 5 | text: 'G101' |
| 6 | path: 'pkg/test/resource/v3/secret.go' |
| 7 | max-issues-per-linter: 0 |
| 8 | max-same-issues: 0 |
| 9 | |
| 10 | linters: |
| 11 | enable: |
| 12 | - bodyclose |
| 13 | - contextcheck |
| 14 | - errcheck |
| 15 | - errorlint |
| 16 | - gofumpt |
| 17 | - goimports |
| 18 | - gosec |
| 19 | - misspell |
| 20 | - revive |
| 21 | - testifylint |
| 22 | - unconvert |
| 23 | - unparam |
| 24 | - unused |
| 25 | - whitespace |
| 26 | |
| 27 | linters-settings: |
| 28 | exhaustive: |
| 29 | default-signifies-exhaustive: true |
| 30 | gofumpt: |
| 31 | extra-rules: true |
| 32 | goimports: |
| 33 | local-prefixes: github.com/envoyproxy/go-control-plane |
| 34 | gosec: |
| 35 | excludes: |
| 36 | - G115 |
| 37 | misspell: |
| 38 | locale: US |
| 39 | testifylint: |
| 40 | disable: |
| 41 | - float-compare |
| 42 | - go-require |
| 43 | enable: |
| 44 | - bool-compare |
| 45 | - compares |
| 46 | - empty |
| 47 | - error-is-as |
| 48 | - error-nil |
| 49 | - expected-actual |
| 50 | - len |
| 51 | - require-error |
| 52 | - suite-dont-use-pkg |
| 53 | - suite-extra-assert-call |
| 54 | |
| 55 | unparam: |
| 56 | check-exported: false |
| 57 | |
| 58 | run: |
| 59 | timeout: 10m |