Skip to content

Commit

Permalink
build(deps): bump github.com/golangci/go-printf-func-name from 7558a9…
Browse files Browse the repository at this point in the history
…eaa5af to v0.1.0 (#5079)
  • Loading branch information
ldez authored Oct 20, 2024
1 parent 9966cab commit 8a9cdad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ require (
github.com/go-xmlfmt/xmlfmt v1.1.2
github.com/gofrs/flock v0.12.1
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
github.com/golangci/go-printf-func-name v0.1.0
github.com/golangci/gofmt v0.0.0-20240816233607-d8596aa466a9
github.com/golangci/misspell v0.6.0
github.com/golangci/modinfo v0.3.4
Expand All @@ -56,7 +57,6 @@ require (
github.com/hexops/gotextdiff v1.0.3
github.com/jgautheron/goconst v1.7.1
github.com/jingyugao/rowserrcheck v1.1.1
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af
github.com/jjti/go-spancheck v0.6.2
github.com/julz/importas v0.1.0
github.com/karamaru-alpha/copyloopvar v1.1.0
Expand Down
5 changes: 2 additions & 3 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/golinters/goprintffuncname/goprintffuncname.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package goprintffuncname

import (
"github.com/jirfag/go-printf-func-name/pkg/analyzer"
"github.com/golangci/go-printf-func-name/pkg/analyzer"
"golang.org/x/tools/go/analysis"

"github.com/golangci/golangci-lint/pkg/goanalysis"
Expand Down
2 changes: 1 addition & 1 deletion pkg/lint/lintersdb/builder_linter.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
linter.NewConfig(goprintffuncname.New()).
WithSince("v1.23.0").
WithPresets(linter.PresetStyle).
WithURL("https://github.com/jirfag/go-printf-func-name"),
WithURL("https://github.com/golangci/go-printf-func-name"),

linter.NewConfig(gosec.New(&cfg.LintersSettings.Gosec)).
WithSince("v1.0.0").
Expand Down

0 comments on commit 8a9cdad

Please sign in to comment.