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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user