| 1 |
version: "2" |
| 2 |
linters: |
| 3 |
enable: |
| 4 |
- bodyclose |
| 5 |
- dogsled |
| 6 |
- dupl |
| 7 |
- exhaustive |
| 8 |
- goprintffuncname |
| 9 |
- gosec |
| 10 |
- intrange |
| 11 |
- lll |
| 12 |
- misspell |
| 13 |
- nakedret |
| 14 |
- noctx |
| 15 |
- nolintlint |
| 16 |
- staticcheck |
| 17 |
- unconvert |
| 18 |
- unparam |
| 19 |
- usetesting |
| 20 |
- whitespace |
| 21 |
- wsl_v5 |
| 22 |
settings: |
| 23 |
exhaustive: |
| 24 |
default-signifies-exhaustive: false |
| 25 |
misspell: |
| 26 |
locale: US |
| 27 |
nolintlint: |
| 28 |
require-explanation: false |
| 29 |
require-specific: false |
| 30 |
allow-unused: false |
| 31 |
exclusions: |
| 32 |
generated: lax |
| 33 |
presets: |
| 34 |
- comments |
| 35 |
- common-false-positives |
| 36 |
- legacy |
| 37 |
- std-error-handling |
| 38 |
rules: |
| 39 |
- linters: |
| 40 |
- gosec |
| 41 |
path: (.+)_test\.go |
| 42 |
paths: |
| 43 |
- third_party$ |
| 44 |
- builtin$ |
| 45 |
- examples$ |
| 46 |
formatters: |
| 47 |
enable: |
| 48 |
- gci |
| 49 |
- gofmt |
| 50 |
settings: |
| 51 |
gci: |
| 52 |
sections: |
| 53 |
- standard |
| 54 |
- default |
| 55 |
- prefix(github.com/org/project) |
| 56 |
- blank |
| 57 |
- dot |
| 58 |
- alias |
| 59 |
- localmodule |
| 60 |
exclusions: |
| 61 |
generated: lax |
| 62 |
paths: |
| 63 |
- third_party$ |
| 64 |
- builtin$ |
| 65 |
- examples$ |