1
0
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:
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"
)
// 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