Skip to content

Commit 6855f43

Browse files
authored
Merge pull request #164 from tri-adam/bump-linter
Update golangci-lint and Enable New Linters
2 parents 8a88749 + da22008 commit 6855f43

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ executors:
99
- image: node:16-slim
1010
golangci-lint:
1111
docker:
12-
- image: golangci/golangci-lint:v1.42-alpine
12+
- image: golangci/golangci-lint:v1.43-alpine
1313
golang-previous:
1414
docker:
1515
- image: golang:1.16

.golangci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ linters:
66
disable-all: true
77
enable:
88
- asciicheck
9+
- bidichk
910
- bodyclose
11+
- contextcheck
1012
- deadcode
1113
- depguard
1214
- dogsled
@@ -28,14 +30,17 @@ linters:
2830
- gosimple
2931
- govet
3032
- ineffassign
33+
- ireturn
3134
- lll
3235
- misspell
36+
- nilnil
3337
- nolintlint
3438
- prealloc
3539
- revive
3640
- rowserrcheck
3741
- staticcheck
3842
- structcheck
43+
- tenv
3944
- typecheck
4045
- unconvert
4146
- unparam

0 commit comments

Comments
 (0)