nishanths/exhaustive

rename and deprecate '-ignore-pattern' flag

Closed this issue · 3 comments

Rename it to -ignore-enum-members. Deprecate the old flag.

I'm undecided on whether this change is actually worth the shuffling around of flags. For anyone interested, please comment before working on this.

Done as part of 895760b. -ignore-pattern is deprecated and has no effect. See -ignore-enum-members, which has the same behavior, instead.

Related golangci-lint PR: golangci/golangci-lint#2344