2025-04-29 15:43:10 +00:00
|
|
|
version: "2"
|
2023-11-08 17:11:42 +00:00
|
|
|
run:
|
|
|
|
|
issues-exit-code: 1
|
|
|
|
|
tests: true
|
2025-04-29 15:43:10 +00:00
|
|
|
output:
|
|
|
|
|
formats:
|
|
|
|
|
text:
|
|
|
|
|
path: stdout
|
|
|
|
|
print-linter-name: true
|
|
|
|
|
print-issued-lines: true
|
|
|
|
|
path-prefix: ""
|
2023-11-08 17:11:42 +00:00
|
|
|
linters:
|
|
|
|
|
enable:
|
|
|
|
|
- bodyclose
|
2025-01-29 16:37:12 +00:00
|
|
|
- copyloopvar
|
2023-11-08 17:11:42 +00:00
|
|
|
- misspell
|
|
|
|
|
- revive
|
|
|
|
|
- whitespace
|
2025-04-29 15:43:10 +00:00
|
|
|
exclusions:
|
|
|
|
|
generated: lax
|
|
|
|
|
presets:
|
|
|
|
|
- common-false-positives
|
|
|
|
|
- legacy
|
|
|
|
|
- std-error-handling
|
|
|
|
|
rules:
|
|
|
|
|
- linters:
|
|
|
|
|
- revive
|
|
|
|
|
path: example_test.go
|
|
|
|
|
text: seems to be unused
|
|
|
|
|
- linters:
|
|
|
|
|
- revive
|
|
|
|
|
text: package-comments
|
|
|
|
|
paths:
|
|
|
|
|
- local
|
|
|
|
|
- third_party$
|
|
|
|
|
- builtin$
|
|
|
|
|
- examples$
|
|
|
|
|
issues:
|
|
|
|
|
max-same-issues: 100
|
|
|
|
|
fix: true
|
|
|
|
|
formatters:
|
|
|
|
|
enable:
|
|
|
|
|
- gofumpt
|
|
|
|
|
- goimports
|
|
|
|
|
exclusions:
|
|
|
|
|
generated: lax
|
|
|
|
|
paths:
|
|
|
|
|
- local
|
|
|
|
|
- third_party$
|
|
|
|
|
- builtin$
|
|
|
|
|
- examples$
|