Skip to content

Commit 213d337

Browse files
authored
Merge pull request #48 from tri-adam/bump-linter
ci: bump golangci-lint to 1.43
2 parents 6d518d1 + 8dade10 commit 213d337

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
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: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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
linters:
22
disable-all: true
33
enable:
4+
- bidichk
45
- bodyclose
6+
- contextcheck
57
- deadcode
68
- depguard
79
- dogsled
@@ -21,14 +23,17 @@ linters:
2123
- gosimple
2224
- govet
2325
- ineffassign
26+
- ireturn
2427
- misspell
2528
- nakedret
29+
- nilnil
2630
- prealloc
2731
- revive
2832
- rowserrcheck
2933
- staticcheck
3034
- structcheck
3135
- stylecheck
36+
- tenv
3237
- typecheck
3338
- unconvert
3439
- unparam

0 commit comments

Comments
 (0)