diff --git a/.circleci/config.yml b/.circleci/config.yml index cba368d..c9b1c91 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.golangci.yml b/.golangci.yml index c22dd23..e9a40ec 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,17 +5,16 @@ linters: - bodyclose - containedctx - contextcheck - - deadcode - decorder - depguard - dogsled - dupl - errcheck + - errchkjson - funlen - gochecknoinits - - gocognit - - errchkjson - gochecknoinits + - gocognit - goconst - gocritic - gocyclo @@ -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