mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
feat: add intrange linter (#4378)
This commit is contained in:
parent
76cfe46b3d
commit
b96ff83e0e
6 changed files with 47 additions and 0 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue