Skip to content

Commit 923bba9

Browse files
committed
chore: bump golangci-lint to v1.49
Disable deprecated deadcode, structcheck and varcheck linters. Add interfacebloat and reassign linters. Sort list of enabled linters in ascending order.
1 parent 9968268 commit 923bba9

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ executors:
99
- image: node:18-slim
1010
golangci-lint:
1111
docker:
12-
- image: golangci/golangci-lint:v1.47
12+
- image: golangci/golangci-lint:v1.49
1313
golang-previous:
1414
docker:
1515
- image: golang:1.18

.golangci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ linters:
55
- bodyclose
66
- containedctx
77
- contextcheck
8-
- deadcode
98
- decorder
109
- depguard
1110
- dogsled
1211
- dupl
1312
- errcheck
13+
- errchkjson
1414
- funlen
1515
- gochecknoinits
16-
- gocognit
17-
- errchkjson
1816
- gochecknoinits
17+
- gocognit
1918
- goconst
2019
- gocritic
2120
- gocyclo
@@ -28,21 +27,20 @@ linters:
2827
- govet
2928
- grouper
3029
- ineffassign
30+
- interfacebloat
3131
- ireturn
3232
- maintidx
3333
- misspell
3434
- nakedret
3535
- nilnil
3636
- prealloc
37+
- reassign
3738
- revive
38-
- rowserrcheck
3939
- staticcheck
40-
- structcheck
4140
- stylecheck
4241
- tenv
4342
- typecheck
4443
- unconvert
4544
- unparam
4645
- unused
47-
- varcheck
4846
- whitespace

0 commit comments

Comments
 (0)