Skip to content

Commit e6d3f9f

Browse files
authored
Upgrade golangci-lint to v1.57.2 (#30401)
Update and adapt to one setting [deprecation](golangci/golangci-lint#4509).
1 parent f0bfad2 commit e6d3f9f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.golangci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ linters:
3030

3131
run:
3232
timeout: 10m
33-
skip-dirs:
34-
- node_modules
35-
- public
36-
- web_src
3733

3834
linters-settings:
3935
stylecheck:
@@ -94,6 +90,7 @@ linters-settings:
9490
issues:
9591
max-issues-per-linter: 0
9692
max-same-issues: 0
93+
exclude-dirs: [node_modules, public, web_src]
9794
exclude-rules:
9895
# Exclude some linters from running on tests files.
9996
- path: _test\.go

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ XGO_VERSION := go-1.22.x
2828
AIR_PACKAGE ?= github.com/cosmtrek/[email protected]
2929
EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/[email protected]
3030
GOFUMPT_PACKAGE ?= mvdan.cc/[email protected]
31-
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.1
31+
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2
3232
GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/[email protected]
3333
MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/[email protected]
3434
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@db51e79a0e37c572d8b59ae0c58bf2bbbbe53285

0 commit comments

Comments
 (0)