build: enable all govet checks (except fieldalignment and shadow) and fix issues.

This commit is contained in:
Oleksandr Redko
2025-10-22 18:37:58 +01:00
committed by GitHub
parent b272c50c4c
commit c8a834f0e8
8 changed files with 8 additions and 16 deletions
+5
View File
@@ -19,6 +19,11 @@ linters:
- unconvert
# Configure checks. Mostly using defaults but with some commented exceptions.
settings:
govet:
enable-all: true
disable:
- fieldalignment
- shadow
staticcheck:
# With staticcheck there is only one setting, so to extend the implicit
# default value it must be explicitly included.