Skip to content

Commit 683f3f7

Browse files
authored
ci: update golangci-lint configuration (#161)
1 parent f0c753b commit 683f3f7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
- name: Run golangci-lint
3232
uses: golangci/golangci-lint-action@v6
3333
with:
34-
version: v1.61.0
34+
version: v1.64.5

.golangci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ linters:
66
enable:
77
- dupl
88
- errcheck
9+
- errname
10+
- errorlint
911
- funlen
1012
- gci
1113
- goconst
@@ -18,9 +20,11 @@ linters:
1820
- govet
1921
- ineffassign
2022
- lll
23+
- makezero
2124
- misspell
2225
- nolintlint
2326
- prealloc
27+
- reassign
2428
- revive
2529
- staticcheck
2630
- stylecheck
@@ -30,6 +34,7 @@ linters:
3034
- unconvert
3135
- unparam
3236
- unused
37+
- usetesting
3338

3439
linters-settings:
3540
gocritic:

0 commit comments

Comments
 (0)