Skip to content

Commit

Permalink
Update golangci-linter config (woodpecker-ci#1539)
Browse files Browse the repository at this point in the history
to remove deprecated and enforce v1.19 golang syntax
  • Loading branch information
6543 authored Jan 13, 2023
1 parent 0f6ce5c commit fecb035
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,15 +20,14 @@ linters:
- misspell
- revive
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- whitespace
- gofumpt

run:
timeout: 5m
go: '1.19'

issues:
exclude-rules:
Expand Down

0 comments on commit fecb035

Please sign in to comment.