mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
add linter zerologlint (#3726)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
51955752fe
commit
8674597b84
9 changed files with 141 additions and 0 deletions
|
@ -890,6 +890,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
|||
WithSince("v1.26.0").
|
||||
WithPresets(linter.PresetStyle).
|
||||
WithURL("https://github.com/golangci/golangci-lint/blob/master/pkg/golinters/nolintlint/README.md"),
|
||||
|
||||
linter.NewConfig(golinters.NewZerologLint()).
|
||||
WithSince("v1.53.0").
|
||||
WithPresets(linter.PresetBugs).
|
||||
WithLoadForGoAnalysis().
|
||||
WithURL("https://github.com/ykadowak/zerologlint"),
|
||||
}
|
||||
|
||||
enabledByDefault := map[string]bool{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue