Skip to content

Commit

Permalink
Update rule/enforce-map-style.go
Browse files Browse the repository at this point in the history
  • Loading branch information
denisvmedia authored Sep 16, 2023
1 parent 6814d8c commit 0c6fcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rule/enforce-map-style.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0c6fcac

Please sign in to comment.