| 1 | version: "2" |
| 2 | linters: |
| 3 | enable: |
| 4 | - asasalint |
| 5 | - asciicheck |
| 6 | - bidichk |
| 7 | - bodyclose |
| 8 | - containedctx |
| 9 | - copyloopvar |
| 10 | - decorder |
| 11 | - dogsled |
| 12 | - dupword |
| 13 | - durationcheck |
| 14 | - errchkjson |
| 15 | - errorlint |
| 16 | - forcetypeassert |
| 17 | - ginkgolinter |
| 18 | - gocheckcompilerdirectives |
| 19 | - gocognit |
| 20 | - goconst |
| 21 | - gocyclo |
| 22 | - goheader |
| 23 | - gomoddirectives |
| 24 | - gomodguard |
| 25 | - goprintffuncname |
| 26 | - importas |
| 27 | - inamedparam |
| 28 | - ireturn |
| 29 | - loggercheck |
| 30 | - makezero |
| 31 | - mirror |
| 32 | - misspell |
| 33 | - nakedret |
| 34 | - nolintlint |
| 35 | - nonamedreturns |
| 36 | - nosprintfhostport |
| 37 | - perfsprint |
| 38 | - predeclared |
| 39 | - reassign |
| 40 | - revive |
| 41 | - tagalign |
| 42 | - testableexamples |
| 43 | - testifylint |
| 44 | - thelper |
| 45 | - unconvert |
| 46 | - unparam |
| 47 | - usestdlibvars |
| 48 | - usetesting |
| 49 | - wastedassign |
| 50 | settings: |
| 51 | gocyclo: |
| 52 | min-complexity: 25 |
| 53 | misspell: |
| 54 | locale: US |
| 55 | exclusions: |
| 56 | generated: lax |
| 57 | presets: |
| 58 | - comments |
| 59 | - common-false-positives |
| 60 | - legacy |
| 61 | - std-error-handling |
| 62 | issues: |
| 63 | max-issues-per-linter: 0 |
| 64 | max-same-issues: 0 |
| 65 | formatters: |
| 66 | enable: |
| 67 | - gofmt |
| 68 | - gofumpt |
| 69 | - goimports |
| 70 | exclusions: |
| 71 | generated: lax |
| 72 | paths: |
| 73 | - third_party$ |
| 74 | - builtin$ |
| 75 | - examples$ |