File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -1660,6 +1660,7 @@ linters:
16601660 - goprintffuncname
16611661 - gosec
16621662 - gosimple
1663+ - gosprintfhostport
16631664 - govet
16641665 - ifshort
16651666 - importas
@@ -1750,6 +1751,7 @@ linters:
17501751 - goprintffuncname
17511752 - gosec
17521753 - gosimple
1754+ - gosprintfhostport
17531755 - govet
17541756 - ifshort
17551757 - importas
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ require (
153153 github.com/spf13/afero v1.6.0 // indirect
154154 github.com/spf13/cast v1.4.1 // indirect
155155 github.com/spf13/jwalterweatherman v1.1.0 // indirect
156- github.com/stbenjam/go-sprintf-host-port v0.0.0-20220406232701-e6c52ffc7e9c // indirect
156+ github.com/stbenjam/go-sprintf-host-port v0.0.1
157157 github.com/stretchr/objx v0.1.1 // indirect
158158 github.com/subosito/gotenv v1.2.0 // indirect
159159 github.com/tklauser/go-sysconf v0.3.10 // indirect
Original file line number Diff line number Diff line change @@ -407,11 +407,6 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
407407 WithPresets (linter .PresetStyle ).
408408 WithURL ("https://github.com/jirfag/go-printf-func-name" ),
409409
410- linter .NewConfig (golinters .NewGoSprintfHostPort ()).
411- WithSince ("v1.46.0" ).
412- WithPresets (linter .PresetStyle ).
413- WithURL ("https://github.com/stbenjam/go-sprintf-host-port" ),
414-
415410 linter .NewConfig (golinters .NewGosec (gosecCfg )).
416411 WithSince ("v1.0.0" ).
417412 WithLoadForGoAnalysis ().
@@ -426,6 +421,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
426421 WithAlternativeNames (megacheckName ).
427422 WithURL ("https://github.com/dominikh/go-tools/tree/master/simple" ),
428423
424+ linter .NewConfig (golinters .NewGoSprintfHostPort ()).
425+ WithSince ("v1.46.0" ).
426+ WithPresets (linter .PresetStyle ).
427+ WithURL ("https://github.com/stbenjam/go-sprintf-host-port" ),
428+
429429 linter .NewConfig (golinters .NewGovet (govetCfg )).
430430 WithSince ("v1.0.0" ).
431431 WithLoadForGoAnalysis ().
You can’t perform that action at this time.
0 commit comments