Skip to content

Commit

Permalink
chore: update golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Dec 27, 2024
1 parent dbf8b73 commit 2e94da0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
with:
version: v1.60.3
version: v1.62.2
8 changes: 7 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
run:
go: '1.22'

linters:
enable:
- asasalint
- asciicheck
- bidichk
- bodyclose
- canonicalheader
- containedctx
- contextcheck
- copyloopvar
Expand Down Expand Up @@ -42,6 +46,7 @@ linters:
- gosmopolitan
- govet
- grouper
- iface
- importas
- inamedparam
- ineffassign
Expand All @@ -66,6 +71,7 @@ linters:
- promlinter
- protogetter
- reassign
- recvcheck
- revive
- rowserrcheck
- sloglint
Expand Down Expand Up @@ -96,9 +102,9 @@ linters:
- gochecknoglobals
- gochecknoinits
- godox
- gomnd
- lll
- maintidx
- mnd
- nlreturn
- nonamedreturns
- paralleltest
Expand Down

0 comments on commit 2e94da0

Please sign in to comment.