mirror of
https://github.com/mgechev/revive.git
synced 2025-07-15 01:04:40 +02:00
Add default formatter
This commit is contained in:
@ -33,7 +33,7 @@ func (r *ErrorStringsRule) Apply(file *lint.File, arguments lint.Arguments) []li
|
||||
|
||||
// Name returns the rule name.
|
||||
func (r *ErrorStringsRule) Name() string {
|
||||
return "errorf"
|
||||
return "error-strings"
|
||||
}
|
||||
|
||||
type lintErrorStrings struct {
|
||||
|
Reference in New Issue
Block a user