@@ -135,7 +135,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
135
135
// When a new linter is added the version in `WithSince(...)` must be the next minor version of golangci-lint.
136
136
return []* linter.Config {
137
137
linter .NewConfig (asasalint .New (& cfg .LintersSettings .Asasalint )).
138
- WithSince ("1 .47.0" ).
138
+ WithSince ("v1 .47.0" ).
139
139
WithPresets (linter .PresetBugs ).
140
140
WithLoadForGoAnalysis ().
141
141
WithURL ("https://github.com/alingse/asasalint" ),
@@ -146,7 +146,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
146
146
WithURL ("https://github.com/tdakkota/asciicheck" ),
147
147
148
148
linter .NewConfig (bidichk .New (& cfg .LintersSettings .BiDiChk )).
149
- WithSince ("1 .43.0" ).
149
+ WithSince ("v1 .43.0" ).
150
150
WithPresets (linter .PresetBugs ).
151
151
WithURL ("https://github.com/breml/bidichk" ),
152
152
@@ -163,7 +163,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
163
163
WithURL ("https://github.com/lasiar/canonicalHeader" ),
164
164
165
165
linter .NewConfig (containedctx .New ()).
166
- WithSince ("1 .44.0" ).
166
+ WithSince ("v1 .44.0" ).
167
167
WithLoadForGoAnalysis ().
168
168
WithPresets (linter .PresetStyle ).
169
169
WithURL ("https://github.com/sivchari/containedctx" ),
@@ -214,7 +214,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
214
214
WithURL ("https://github.com/mibk/dupl" ),
215
215
216
216
linter .NewConfig (dupword .New (& cfg .LintersSettings .DupWord )).
217
- WithSince ("1 .50.0" ).
217
+ WithSince ("v1 .50.0" ).
218
218
WithPresets (linter .PresetComment ).
219
219
WithURL ("https://github.com/Abirdcfly/dupword" ),
220
220
@@ -232,7 +232,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
232
232
WithURL ("https://github.com/kisielk/errcheck" ),
233
233
234
234
linter .NewConfig (errchkjson .New (& cfg .LintersSettings .ErrChkJSON )).
235
- WithSince ("1 .44.0" ).
235
+ WithSince ("v1 .44.0" ).
236
236
WithPresets (linter .PresetBugs ).
237
237
WithLoadForGoAnalysis ().
238
238
WithURL ("https://github.com/breml/errchkjson" ),
@@ -298,7 +298,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
298
298
WithURL ("https://github.com/gostaticanalysis/forcetypeassert" ),
299
299
300
300
linter .NewConfig (fatcontext .New ()).
301
- WithSince ("1 .58.0" ).
301
+ WithSince ("v1 .58.0" ).
302
302
WithPresets (linter .PresetPerformance ).
303
303
WithLoadForGoAnalysis ().
304
304
WithURL ("https://github.com/Crocmagnon/fatcontext" ),
@@ -653,7 +653,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) {
653
653
WithURL ("https://github.com/ghostiam/protogetter" ),
654
654
655
655
linter .NewConfig (reassign .New (& cfg .LintersSettings .Reassign )).
656
- WithSince ("1 .49.0" ).
656
+ WithSince ("v1 .49.0" ).
657
657
WithPresets (linter .PresetBugs ).
658
658
WithLoadForGoAnalysis ().
659
659
WithURL ("https://github.com/curioswitch/go-reassign" ),
0 commit comments