.golangci.yaml
raw| 1 | version: "2" |
| 2 | linters: |
| 3 | enable: |
| 4 | - gocheckcompilerdirectives |
| 5 | - mirror |
| 6 | - misspell |
| 7 | - unconvert |
| 8 | - wastedassign |
| 9 | exclusions: |
| 10 | generated: lax |
| 11 | presets: |
| 12 | - comments |
| 13 | - common-false-positives |
| 14 | - legacy |
| 15 | - std-error-handling |
| 16 | paths: |
| 17 | - gen/gen |
| 18 | - gen/ucd |
| 19 | - ^gen$ |
| 20 | - ^ucd$ |
| 21 | - third_party$ |
| 22 | - builtin$ |
| 23 | - examples$ |
| 24 | issues: |
| 25 | max-issues-per-linter: 100 |
| 26 | max-same-issues: 100 |
| 27 | formatters: |
| 28 | enable: |
| 29 | - gofmt |
| 30 | - goimports |
| 31 | exclusions: |
| 32 | generated: lax |
| 33 | paths: |
| 34 | - gen/gen |
| 35 | - gen/ucd |
| 36 | - ^gen$ |
| 37 | - ^ucd$ |
| 38 | - third_party$ |
| 39 | - builtin$ |
| 40 | - examples$ |