mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
feat: add copyloopvar linter (#4382)
This commit is contained in:
parent
b96ff83e0e
commit
2417da15e7
6 changed files with 65 additions and 0 deletions
|
@ -298,6 +298,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
|||
WithLoadForGoAnalysis().
|
||||
WithURL("https://github.com/kkHAIKE/contextcheck"),
|
||||
|
||||
linter.NewConfig(golinters.NewCopyLoopVar()).
|
||||
WithSince("v1.57.0").
|
||||
WithPresets(linter.PresetStyle).
|
||||
WithURL("https://github.com/karamaru-alpha/copyloopvar"),
|
||||
|
||||
linter.NewConfig(golinters.NewCyclop(cyclopCfg)).
|
||||
WithSince("v1.37.0").
|
||||
WithLoadForGoAnalysis().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue