1
0
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:
mgechev
2018-01-27 17:01:18 -08:00
parent 1870854374
commit deb72d6238
12 changed files with 92 additions and 34 deletions

View File

@ -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 {