enable revive linter

- add package comments
- fix redeclaration of built-in min/max
- add comments to exported types
- remove unused parameters
This commit is contained in:
2026-02-15 12:22:22 +00:00
parent ac8f635263
commit 7a0d5c56e5
17 changed files with 71 additions and 59 deletions

View File

@@ -6,8 +6,7 @@ run:
go: '1.24'
linters:
disable:
[dupl, errcheck, goconst, godot, revive, staticcheck, unparam, predeclared]
disable: [dupl, errcheck, goconst, godot, staticcheck, unparam, predeclared]
enable:
# Default enabled linters
- errcheck # Check for unchecked errors