| 1 | version: "2" |
| 2 | linters: |
| 3 | default: none |
| 4 | enable: |
| 5 | - errcheck |
| 6 | - govet |
| 7 | - ineffassign |
| 8 | - misspell |
| 9 | - perfsprint |
| 10 | - staticcheck |
| 11 | - unused |
| 12 | settings: |
| 13 | errcheck: |
| 14 | without_tests: true |
| 15 | govet: |
| 16 | disable: |
| 17 | - tests |
| 18 | misspell: |
| 19 | locale: US |
| 20 | perfsprint: |
| 21 | int-conversion: false |
| 22 | err-error: false |
| 23 | errorf: true |
| 24 | sprintf1: false |
| 25 | strconcat: false |
| 26 | staticcheck: |
| 27 | checks: |
| 28 | - -ST1000 |
| 29 | - -ST1005 |
| 30 | - all |
| 31 | exclusions: |
| 32 | generated: lax |
| 33 | presets: |
| 34 | - comments |
| 35 | - common-false-positives |
| 36 | - legacy |
| 37 | - std-error-handling |
| 38 | rules: |
| 39 | - linters: |
| 40 | - staticcheck |
| 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/goccy/go-yaml) |
| 56 | - blank |
| 57 | - dot |
| 58 | gofmt: |
| 59 | simplify: true |
| 60 | exclusions: |
| 61 | generated: lax |
| 62 | paths: |
| 63 | - third_party$ |
| 64 | - builtin$ |
| 65 | - examples$ |