-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
gci runtime error #3018
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
Comments
Hello, can you provide a reproducible example? thank you. |
I'm able to reproduce the problem and I will fix the panic. Your configuration is just invalid: |
Thanks, that's it! Previous versions let me get away with the invalid (or deprecated?) configuration options... |
Linter can change its configuration. We try to keep compatibility as much as we can, but we cannot control changes inside a linter. |
Welcome
Description of the problem
golangci-lint crashes with a nil pointer error, even though I can run [email protected] directly with the same option on the same code without any issues. If I disable gci in
.golangci.yml
, everything is fine.Version of golangci-lint
v1.47.2
Configuration file
Go environment
1.18.4
Verbose output of running
Code example or link to a public repository
// add your code here
The text was updated successfully, but these errors were encountered: