chore: update golangci-lint

main
sudo pacman -Syu 2022-12-03 14:45:31 +07:00
parent ac9eeaab1e
commit 23ad9e7ea8
1 changed files with 10 additions and 0 deletions

View File

@ -19,12 +19,15 @@ linters:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- errchkjson
- errname
- errorlint
- execinquery
- gocritic
- goerr113
- gofumpt
- gosec
@ -38,7 +41,10 @@ linters:
linters-settings:
gosec:
excludes:
- G101
- G112
- G402
- G404
- G501
- G505
exclude-generated: true
@ -63,3 +69,7 @@ linters-settings:
- unusedresult
staticcheck:
checks: ["all", "-SA1019"]
gocritic:
enabled-tags:
- style
- performance