mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
feat: add gochecksumtype
linter (#3671)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
8c178d388c
commit
69d6cc93cb
6 changed files with 131 additions and 0 deletions
|
@ -441,6 +441,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
|||
WithSince("v1.12.0").
|
||||
WithPresets(linter.PresetStyle),
|
||||
|
||||
linter.NewConfig(golinters.NewGoCheckSumType()).
|
||||
WithSince("v1.55.0").
|
||||
WithPresets(linter.PresetBugs).
|
||||
WithLoadForGoAnalysis().
|
||||
WithURL("https://github.com/alecthomas/go-check-sumtype"),
|
||||
|
||||
linter.NewConfig(golinters.NewGocognit(gocognitCfg)).
|
||||
WithSince("v1.20.0").
|
||||
WithPresets(linter.PresetComplexity).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue