| 1 |
version: "2" |
| 2 |
linters: |
| 3 |
default: none |
| 4 |
enable: |
| 5 |
- gosec |
| 6 |
- govet |
| 7 |
- revive |
| 8 |
- unused |
| 9 |
exclusions: |
| 10 |
generated: lax |
| 11 |
presets: |
| 12 |
- comments |
| 13 |
- common-false-positives |
| 14 |
- legacy |
| 15 |
- std-error-handling |
| 16 |
rules: |
| 17 |
- linters: |
| 18 |
- gosec |
| 19 |
path: _test\.go |
| 20 |
- linters: |
| 21 |
- gosec |
| 22 |
path: ^tests/ |
| 23 |
paths: |
| 24 |
- third_party$ |
| 25 |
- builtin$ |
| 26 |
- examples$ |
| 27 |
issues: |
| 28 |
fix: true |
| 29 |
formatters: |
| 30 |
enable: |
| 31 |
- gofmt |
| 32 |
exclusions: |
| 33 |
generated: lax |
| 34 |
paths: |
| 35 |
- third_party$ |
| 36 |
- builtin$ |
| 37 |
- examples$ |