Skip to content

Commit 7ab90ed

Browse files
kolyshkindims
authored andcommitted
ci: bump golangci-lint to v1.61.0
While at it, declutter .golangci.yml by removing most exceptions. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 8ee0b22 commit 7ab90ed

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.golangci.yml

-16
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,3 @@ linters:
2222
issues:
2323
max-issues-per-linter: 0
2424
max-same-issues: 0
25-
exclude-case-sensitive: true
26-
exclude:
27-
# integration/tests/api/event_test.go:66:6: func `waitForStaticEvent` is unused (unused)
28-
# Flaky test skipped.
29-
- waitForStaticEvent
30-
# Initialism or acronyms for fields, vars and types:
31-
- "(struct field|var|type|const) `[A-Z].*` should be `.*`"
32-
# Initialism or acronyms - renaming exported methods and functions can be tricky:
33-
- "(method|func) [A-Z].* should be .*"
34-
# Stuttering affects exported names:
35-
- "type name will be used as .*\\.[A-Z]{1}.* by other packages, and that stutters"
36-
exclude-rules:
37-
# utils/cpuload/netlink/netlink.go:102:15: Error return value of `binary.Write` is not checked (errcheck)
38-
# There are more similar issues in this file
39-
- path: utils/cpuload/netlink/netlink.go
40-
text: "Error return value of `binary.Write` is not checked"

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
GO := go
16-
GOLANGCI_VER := 1.56.2
16+
GOLANGCI_VER := 1.61.0
1717
GO_TEST ?= $(GO) test $(or $(GO_FLAGS),-race)
1818
arch ?= $(shell go env GOARCH)
1919

0 commit comments

Comments
 (0)