Skip to content

Commit

Permalink
build: update golangci-lint (#1321)
Browse files Browse the repository at this point in the history
Co-authored-by: kongfanfu <[email protected]>
  • Loading branch information
lugosix and kongfanfu authored May 6, 2024
1 parent 8be70f0 commit a1a7f25
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions build/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,12 @@ linters-settings:
# minimal occurrences count to trigger, 3 by default
min-occurrences: 3
depguard:
list-type: blacklist
include-go-root: false
packages:
- github.com/davecgh/go-spew/spew
rules:
main:
files:
- $all
deny:
- pkg: "github.com/davecgh/go-spew/spew"
misspell:
# Correct spellings using locale preferences for US or UK.
# Default is to use a neutral variety of English.
Expand Down
2 changes: 1 addition & 1 deletion build/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

const (
// GolangCIVersion to be used for linting.
GolangCIVersion = "github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2"
GolangCIVersion = "github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2"
)

// GOBIN environment variable.
Expand Down

0 comments on commit a1a7f25

Please sign in to comment.