Skip to content

Commit

Permalink
bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 (golang…
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored and SeigeC committed Apr 4, 2023
1 parent 874eabd commit f32362b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion go.mod
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
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
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
@@ -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
@@ -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

0 comments on commit f32362b

Please sign in to comment.