File tree 4 files changed +10
-8
lines changed
4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -1660,6 +1660,7 @@ linters:
1660
1660
- goprintffuncname
1661
1661
- gosec
1662
1662
- gosimple
1663
+ - gosprintfhostport
1663
1664
- govet
1664
1665
- ifshort
1665
1666
- importas
@@ -1750,6 +1751,7 @@ linters:
1750
1751
- goprintffuncname
1751
1752
- gosec
1752
1753
- gosimple
1754
+ - gosprintfhostport
1753
1755
- govet
1754
1756
- ifshort
1755
1757
- importas
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ require (
153
153
github.com/spf13/afero v1.6.0 // indirect
154
154
github.com/spf13/cast v1.4.1 // indirect
155
155
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
157
157
github.com/stretchr/objx v0.1.1 // indirect
158
158
github.com/subosito/gotenv v1.2.0 // indirect
159
159
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 {
407
407
WithPresets (linter .PresetStyle ).
408
408
WithURL ("https://github.com/jirfag/go-printf-func-name" ),
409
409
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
-
415
410
linter .NewConfig (golinters .NewGosec (gosecCfg )).
416
411
WithSince ("v1.0.0" ).
417
412
WithLoadForGoAnalysis ().
@@ -426,6 +421,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
426
421
WithAlternativeNames (megacheckName ).
427
422
WithURL ("https://github.com/dominikh/go-tools/tree/master/simple" ),
428
423
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
+
429
429
linter .NewConfig (golinters .NewGovet (govetCfg )).
430
430
WithSince ("v1.0.0" ).
431
431
WithLoadForGoAnalysis ().
You can’t perform that action at this time.
0 commit comments