Skip to content

Commit

Permalink
chore: bump golangci-lint to v1.49
Browse files Browse the repository at this point in the history
Disable deprecated deadcode, structcheck and varcheck linters. Add
interfacebloat and reassign linters. Sort list of enabled linters in
ascending order.
  • Loading branch information
tri-adam committed Aug 29, 2022
1 parent 9968268 commit 923bba9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ executors:
- image: node:18-slim
golangci-lint:
docker:
- image: golangci/golangci-lint:v1.47
- image: golangci/golangci-lint:v1.49
golang-previous:
docker:
- image: golang:1.18
Expand Down
10 changes: 4 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ linters:
- bodyclose
- containedctx
- contextcheck
- deadcode
- decorder
- depguard
- dogsled
- dupl
- errcheck
- errchkjson
- funlen
- gochecknoinits
- gocognit
- errchkjson
- gochecknoinits
- gocognit
- goconst
- gocritic
- gocyclo
Expand All @@ -28,21 +27,20 @@ linters:
- govet
- grouper
- ineffassign
- interfacebloat
- ireturn
- maintidx
- misspell
- nakedret
- nilnil
- prealloc
- reassign
- revive
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- tenv
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace

0 comments on commit 923bba9

Please sign in to comment.