-
-
Notifications
You must be signed in to change notification settings - Fork 378
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
Enable golangci linter goconst #3169
Conversation
Deployment of preview was successful: https://woodpecker-ci-woodpecker-pr-3169.surge.sh |
Not sure I like this linter 🤣 |
No strong opinion, feel free to close unmerged. |
It's too strict on values as can be seen already in a lot of places need to add nolint comment, personally I don't like it because of it |
Well... There are only a few places where excludes were added... However. |
I agree to @lafriks. we don't need separate variables for value like If we do this, please move the consts out of the migrations to |
Please make a decision first if the linter should be activated or not before I spend more time on it. |
I think we shouldn't enable it. |
Split out from #2960