2025-11-03 19:33:28 +00:00
|
|
|
version: "2"
|
2025-11-03 18:19:12 +00:00
|
|
|
run:
|
|
|
|
|
timeout: 5m
|
|
|
|
|
linters:
|
|
|
|
|
enable:
|
|
|
|
|
- govet
|
|
|
|
|
- staticcheck
|
|
|
|
|
- ineffassign
|
2025-11-03 19:33:28 +00:00
|
|
|
- misspell
|
2025-11-03 18:41:28 +00:00
|
|
|
- errcheck
|
2025-11-03 18:19:12 +00:00
|
|
|
issues:
|
|
|
|
|
max-issues-per-linter: 0
|
|
|
|
|
max-same-issues: 0
|
2025-11-03 18:41:28 +00:00
|
|
|
exclude-rules:
|
|
|
|
|
- path: _test\.go
|
|
|
|
|
linters:
|
|
|
|
|
- errcheck
|
2025-11-03 18:19:12 +00:00
|
|
|
linters-settings:
|
2025-11-03 18:41:28 +00:00
|
|
|
errcheck:
|
2025-11-04 00:38:18 +00:00
|
|
|
# Using default settings; test file exclusions are handled by exclude-rules above.
|