| 1 | version: "2" |
| 2 | linters: |
| 3 | enable: |
| 4 | - unconvert |
| 5 | disable: |
| 6 | - errcheck |
| 7 | settings: |
| 8 | staticcheck: |
| 9 | checks: |
| 10 | - all |
| 11 | - -SA1019 |
| 12 | exclusions: |
| 13 | generated: lax |
| 14 | presets: |
| 15 | - comments |
| 16 | - common-false-positives |
| 17 | - legacy |
| 18 | - std-error-handling |
| 19 | paths: |
| 20 | - third_party$ |
| 21 | - builtin$ |
| 22 | - examples$ |
| 23 | rules: |
| 24 | - path: (.+)\.go$ |
| 25 | text: JsonNumber should be JSONNumber |
| 26 | |
| 27 | formatters: |
| 28 | exclusions: |
| 29 | generated: lax |
| 30 | paths: |
| 31 | - third_party$ |
| 32 | - builtin$ |
| 33 | - examples$ |