2023-11-08 17:11:42 +00:00
|
|
|
run:
|
|
|
|
|
timeout: 5m
|
|
|
|
|
issues-exit-code: 1
|
|
|
|
|
tests: true
|
|
|
|
|
|
|
|
|
|
issues:
|
|
|
|
|
max-same-issues: 100
|
2023-11-22 12:43:50 +00:00
|
|
|
include:
|
|
|
|
|
- EXC0012
|
|
|
|
|
- EXC0014
|
2024-07-18 16:32:56 +00:00
|
|
|
exclude-dirs:
|
|
|
|
|
- local
|
|
|
|
|
exclude-rules:
|
|
|
|
|
- path: example_test.go
|
|
|
|
|
linters:
|
|
|
|
|
- revive
|
|
|
|
|
text: "seems to be unused"
|
|
|
|
|
fix: true
|
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
|
|
|
- gofumpt
|
|
|
|
|
- goimports
|
|
|
|
|
- gosimple
|
|
|
|
|
- govet
|
|
|
|
|
- ineffassign
|
|
|
|
|
- misspell
|
|
|
|
|
- revive
|
|
|
|
|
- staticcheck
|
|
|
|
|
- typecheck
|
|
|
|
|
- unused
|
|
|
|
|
- whitespace
|
|
|
|
|
|
|
|
|
|
output:
|
2024-07-18 16:32:56 +00:00
|
|
|
formats:
|
|
|
|
|
- format: colored-line-number
|
2023-11-08 17:11:42 +00:00
|
|
|
print-issued-lines: true
|
|
|
|
|
print-linter-name: true
|
|
|
|
|
path-prefix: ""
|
|
|
|
|
sort-results: true
|