Update golangci-linter config (#1539)

to remove deprecated and enforce v1.19 golang syntax
This commit is contained in:
6543 2023-01-13 22:20:41 +01:00 committed by GitHub
parent 0f6ce5c4e9
commit fecb0354bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -4,14 +4,13 @@ linters-settings:
misspell:
locale: US
gofumpt:
lang-version: "1.16"
lang-version: "1.19"
extra-rules: true
linters:
disable-all: true
enable:
- bidichk
- deadcode
- errcheck
- gofmt
- goimports
@ -21,15 +20,14 @@ linters:
- misspell
- revive
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- whitespace
- gofumpt
run:
timeout: 5m
go: '1.19'
issues:
exclude-rules: