mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
feat: add gocheckcompilerdirectives (#3463)
This commit is contained in:
parent
3cc6373117
commit
d5d671f0bf
6 changed files with 50 additions and 0 deletions
|
@ -440,6 +440,11 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
|||
WithPresets(linter.PresetStyle).
|
||||
WithURL("https://github.com/nunnatsa/ginkgolinter"),
|
||||
|
||||
linter.NewConfig(golinters.NewGoCheckCompilerDirectives()).
|
||||
WithSince("v1.51.0").
|
||||
WithPresets(linter.PresetBugs).
|
||||
WithURL("https://github.com/leighmcculloch/gocheckcompilerdirectives"),
|
||||
|
||||
linter.NewConfig(golinters.NewGochecknoglobals()).
|
||||
WithSince("v1.12.0").
|
||||
WithPresets(linter.PresetStyle).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue