Skip to content

Commit

Permalink
Bump golangci-lint to v1.43
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jan 6, 2022
1 parent be8918c commit 23edd5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42
version: v1.43
8 changes: 7 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
linters:
enable:
- asciicheck
- bidichk
- bodyclose
- cyclop
- contextcheck
- deadcode
- depguard
- dogsled
Expand Down Expand Up @@ -39,11 +40,13 @@ linters:
- ifshort
- importas
- ineffassign
- ireturn
- makezero
- misspell
- nakedret
- nestif
- nilerr
- nilnil
- noctx
- nolintlint
- paralleltest
Expand All @@ -57,6 +60,7 @@ linters:
- structcheck
- stylecheck
- tagliatelle
- tenv
- testpackage
- thelper
- tparallel
Expand All @@ -69,10 +73,12 @@ linters:
- whitespace
- wrapcheck
disable:
- cyclop
- gochecknoglobals
- gomnd
- lll
- nlreturn
- varnamelen
- wsl

linters-settings:
Expand Down

0 comments on commit 23edd5d

Please sign in to comment.