-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
gci: improve error message #3777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gci: improve error message #3777
Conversation
Adds custom-order flag Supports gci StringArray breaking change introduced in version 0.10.0. CSV-style `-s one,two,three` must now be `use -s one -s two -s three` which now supports multiple prefixes. Fixes golangci#3776
Hey, thank you for opening your first Pull Request ! |
Hello, your PR only changes the error message. The feature is already implemented, and your tests prove that. |
You are indeed correct, of course! I was flipping between two different golangci-lint and, thus, bundled gci versions - split between its multi-prefix support, and my own config had two prefixes. The error message threw me, as suggestion didn't work in my standalone, newer gci as the flags changed. All is well, thanks for the hard work and fast response. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds custom-order flagSupports gci StringArray breaking change introduced in version 0.10.0. CSV-style-s one,two,three
must now beuse -s one -s two -s three
which now supports multiple prefixes.Fixes #3776Improve error message.