diff --git a/rule/enforce-map-style.go b/rule/enforce-map-style.go index 7517a8001..024b53f9e 100644 --- a/rule/enforce-map-style.go +++ b/rule/enforce-map-style.go @@ -140,7 +140,7 @@ func (r *EnforceMapStyleRule) Apply(file *lint.File, arguments lint.Arguments) [ // Name returns the rule name. func (r *EnforceMapStyleRule) Name() string { - return "enforce-make-style" + return "enforce-map-style" } func (r *EnforceMapStyleRule) isMapType(v ast.Expr) bool {