1
0
mirror of https://github.com/mgechev/revive.git synced 2025-12-01 22:30:16 +02:00

refactor: enable godoclint linter in golangci-lint (#1576)

This commit is contained in:
Oleksandr Redko
2025-11-14 18:02:48 +02:00
committed by GitHub
parent ac5f398440
commit a295bebe6e
13 changed files with 61 additions and 29 deletions

View File

@@ -11,7 +11,7 @@ import (
"github.com/mgechev/revive/lint"
)
// exitChecker is a function type that checks whether a function call is an exit function.
// exitFuncChecker is a function type that checks whether a function call is an exit function.
type exitFuncChecker func(args []ast.Expr) bool
var alwaysTrue exitFuncChecker = func([]ast.Expr) bool { return true }