diff --git a/.circleci/config.yml b/.circleci/config.yml index c997700..35d87d4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ executors: - image: node:16-slim golangci-lint: docker: - - image: golangci/golangci-lint:v1.42-alpine + - image: golangci/golangci-lint:v1.43-alpine golang-previous: docker: - image: golang:1.16 diff --git a/.golangci.yml b/.golangci.yml index 896eeb6..32ee0fd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,9 @@ linters: disable-all: true enable: + - bidichk - bodyclose + - contextcheck - deadcode - depguard - dogsled @@ -21,14 +23,17 @@ linters: - gosimple - govet - ineffassign + - ireturn - misspell - nakedret + - nilnil - prealloc - revive - rowserrcheck - staticcheck - structcheck - stylecheck + - tenv - typecheck - unconvert - unparam