You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like staticcheck-in-the-context-of-golangci-lint reads the staticcheck.conf file, so another usable hack is to just set that. It's not great to have two config files but it's better than nothing.
Staticcheck has a bunch of options. We'd like to be able to use those via golangci-lint, but it doesn't seem to be supported.
It's not clear to me if staticcheck exposes a proper way to do this, but it looks like setting
DefaultConfig
would be a plenty usable hack.I think this would subsume #649, #980, perhaps others.
The text was updated successfully, but these errors were encountered: