| Abhay Kumar | 40252eb | 2025-10-13 13:25:53 +0000 | [diff] [blame^] | 1 | version: "2" |
| khenaidoo | 59ce9dd | 2019-11-11 13:05:32 -0500 | [diff] [blame] | 2 | linters: |
| 3 | enable: | ||||
| Abhay Kumar | 40252eb | 2025-10-13 13:25:53 +0000 | [diff] [blame^] | 4 | - forbidigo |
| 5 | - godot | ||||
| 6 | - misspell | ||||
| 7 | - revive | ||||
| 8 | - testifylint | ||||
| 9 | settings: | ||||
| 10 | forbidigo: | ||||
| 11 | forbid: | ||||
| 12 | - pattern: ^fmt\.Print.*$ | ||||
| 13 | msg: Do not commit print statements. | ||||
| 14 | godot: | ||||
| 15 | exclude: | ||||
| 16 | # Ignore "See: URL". | ||||
| 17 | - 'See:' | ||||
| 18 | capital: true | ||||
| 19 | misspell: | ||||
| 20 | locale: US | ||||
| 21 | exclusions: | ||||
| 22 | generated: lax | ||||
| 23 | presets: | ||||
| 24 | - comments | ||||
| 25 | - common-false-positives | ||||
| 26 | - legacy | ||||
| 27 | - std-error-handling | ||||
| 28 | paths: | ||||
| 29 | - third_party$ | ||||
| 30 | - builtin$ | ||||
| 31 | - examples$ | ||||
| 32 | formatters: | ||||
| 33 | enable: | ||||
| 34 | - gofmt | ||||
| 35 | - goimports | ||||
| 36 | settings: | ||||
| 37 | goimports: | ||||
| 38 | local-prefixes: | ||||
| 39 | - github.com/prometheus/procfs | ||||
| 40 | exclusions: | ||||
| 41 | generated: lax | ||||
| 42 | paths: | ||||
| 43 | - third_party$ | ||||
| 44 | - builtin$ | ||||
| 45 | - examples$ | ||||