Uncomments the lint job in CI and updates golangci-lint version to 'latest' to support Go 1.23. Also removes the deprecated 'version' field from .golangci.yml.
20 lines
247 B
YAML
20 lines
247 B
YAML
# Options for analysis running.
|
|
run:
|
|
timeout: 5m
|
|
|
|
linters:
|
|
enable:
|
|
- errcheck
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- unused
|
|
- misspell
|
|
- unconvert
|
|
- unparam
|
|
|
|
linters-settings:
|
|
govet:
|
|
enable:
|
|
- shadow
|