Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 #2614

Merged
merged 2 commits into from
Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/butuzov/ireturn v0.1.1
github.com/charithe/durationcheck v0.0.9
github.com/daixiang0/gci v0.3.1
github.com/denis-tingajkin/go-header v0.4.2
github.com/denis-tingaikin/go-header v0.4.3
github.com/esimonov/ifshort v1.0.4
github.com/fatih/color v1.13.0
github.com/fzipp/gocyclo v0.4.0
Expand Down
6 changes: 2 additions & 4 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/goheader.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"go/token"
"sync"

goheader "github.com/denis-tingajkin/go-header"
goheader "github.com/denis-tingaikin/go-header"
"golang.org/x/tools/go/analysis"

"github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
Expand Down
2 changes: 1 addition & 1 deletion pkg/lint/lintersdb/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
linter.NewConfig(golinters.NewGoHeader()).
WithSince("v1.28.0").
WithPresets(linter.PresetStyle).
WithURL("https://github.com/denis-tingajkin/go-header"),
WithURL("https://github.com/denis-tingaikin/go-header"),

linter.NewConfig(golinters.NewGoimports()).
WithSince("v1.20.0").
Expand Down
4 changes: 2 additions & 2 deletions test/testdata/go-header_bad.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*MY TITLE!*/ // ERROR `Expected:TITLE\., Actual: TITLE!`

//args: -Egoheader
//config_path: testdata/configs/go-header.yml
// args: -Egoheader
// config_path: testdata/configs/go-header.yml
package testdata
4 changes: 2 additions & 2 deletions test/testdata/go-header_good.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*MY TITLE.*/

//args: -Egoheader
//config_path: testdata/configs/go-header.yml
// args: -Egoheader
// config_path: testdata/configs/go-header.yml
package testdata