feat: add intrange linter (#4378)

This commit is contained in:
Clifton Kaznocha 2024-02-15 15:03:11 -08:00 committed by GitHub
parent 76cfe46b3d
commit b96ff83e0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 47 additions and 0 deletions

View file

@ -608,6 +608,10 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithURL("https://github.com/mvdan/interfacer").
Deprecated("The repository of the linter has been archived by the owner.", "v1.38.0", ""),
linter.NewConfig(golinters.NewIntrange()).
WithSince("v1.57.0").
WithURL("https://github.com/ckaznocha/intrange"),
linter.NewConfig(golinters.NewIreturn(ireturnCfg)).
WithSince("v1.43.0").
WithPresets(linter.PresetStyle).