mirror of
https://github.com/mgechev/revive.git
synced 2025-11-27 22:18:41 +02:00
docs: fix rule descriptions (#1147)
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/mgechev/revive/lint"
|
||||
)
|
||||
|
||||
// UnusedReceiverRule lints unused params in functions.
|
||||
// UnusedReceiverRule lints unused receivers in functions.
|
||||
type UnusedReceiverRule struct {
|
||||
// regex to check if some name is valid for unused parameter, "^_$" by default
|
||||
allowRegex *regexp.Regexp
|
||||
|
||||
Reference in New Issue
Block a user