1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

docs: fix rule descriptions (#1147)

This commit is contained in:
Oleksandr Redko
2024-12-01 17:44:41 +02:00
committed by GitHub
parent b532dc8e5e
commit d181862481
45 changed files with 45 additions and 45 deletions

View File

@@ -9,7 +9,7 @@ import (
"github.com/mgechev/revive/lint"
)
// ErrorfRule lints given else constructs.
// ErrorfRule suggests using `fmt.Errorf` instead of `errors.New(fmt.Sprintf())`.
type ErrorfRule struct{}
// Apply applies the rule to given file.