-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 testifylint and tenv linters in golangci-lint #32842
Comments
One question: Why remove Edit: It seems we already removed |
Also, I'm not sure whether the massive refactor for https://github.com/Antonboom/testifylint#require-error is really justified. It may be more useful being able to see "all errors" instead of just the first. |
I think it just was dead config. golangci-lint v1.57 changed As for the require error, I do see your point, and it does make the change a lot smaller (3183 issues are from that). Though it does make sense in places there it's just I can not port that part for now which would make the PR a lot smaller and port require to setups/returns in smaller chunks when adding tests etc. That would make it more manageable and easier to backport if needed. |
Ah yes, we migrated to
Yeah I would suggest disabling |
Yeah it's a lot smaller without it. I'll submit it then. |
Feature Description
I have contributed this change to Forgejo and I would like to upstream it to Gitea.
Let me know what's the best/recommended way to do this as it did end up large and not pleasant to look through.
I have a few more things that I want to upstream, but I'll have to see first how the codebases differ - maybe they aren't needed.
Screenshots
No response
The text was updated successfully, but these errors were encountered: