-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Go 1.18: Panic: buildir: package "provider" #2664
Comments
Hello, As I explained here and here, if you are using generics you have to set the following configuration: run:
go: 1.18 https://golangci-lint.run/usage/configuration/#run-configuration |
@ldez I have now specified as requested but panic remains the same:
Reopen? |
Your panic (in the description and in your CI) is related to staticcheck ( So check your setup, and provide your stack if you still have the same problem. |
Sorry for the noise. I had renamed I've also noticed that |
It's already fixed but not available for now. #2666 |
To those experiencing this issue on go1.17 try changing |
If you're not using a config file, adding
Of course, that turns off a bunch of linters. Is there a way to pretend to use go 1.17 for linting purposes? |
Welcome
Description of the problem
Linting panics:
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository
Code is here: evcc-io/evcc#2116
The text was updated successfully, but these errors were encountered: