Skip to content

Commit 56d77e2

Browse files
authored
bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 (#2614)
1 parent 30c6166 commit 56d77e2

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/butuzov/ireturn v0.1.1
2121
github.com/charithe/durationcheck v0.0.9
2222
github.com/daixiang0/gci v0.3.1
23-
github.com/denis-tingajkin/go-header v0.4.2
23+
github.com/denis-tingaikin/go-header v0.4.3
2424
github.com/esimonov/ifshort v1.0.4
2525
github.com/fatih/color v1.13.0
2626
github.com/fzipp/gocyclo v0.4.0

go.sum

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/goheader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"go/token"
55
"sync"
66

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

1010
"github.com/golangci/golangci-lint/pkg/golinters/goanalysis"

pkg/lint/lintersdb/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
362362
linter.NewConfig(golinters.NewGoHeader()).
363363
WithSince("v1.28.0").
364364
WithPresets(linter.PresetStyle).
365-
WithURL("https://github.com/denis-tingajkin/go-header"),
365+
WithURL("https://github.com/denis-tingaikin/go-header"),
366366

367367
linter.NewConfig(golinters.NewGoimports()).
368368
WithSince("v1.20.0").

test/testdata/go-header_bad.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*MY TITLE!*/ // ERROR `Expected:TITLE\., Actual: TITLE!`
22

3-
//args: -Egoheader
4-
//config_path: testdata/configs/go-header.yml
3+
// args: -Egoheader
4+
// config_path: testdata/configs/go-header.yml
55
package testdata

test/testdata/go-header_good.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*MY TITLE.*/
22

3-
//args: -Egoheader
4-
//config_path: testdata/configs/go-header.yml
3+
// args: -Egoheader
4+
// config_path: testdata/configs/go-header.yml
55
package testdata

0 commit comments

Comments
 (0)