-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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 linter rules #18719
Comments
Hey @ivanvc, do you need some help here? I could take on a few items on the list if you want me to. Just let me know which are the preferred ones. |
Hi @ghouscht, thanks for offering your help with this task. Although it's unassigned (because I can't assign it to people outside of the etcd-io organization if they haven't participated in the issue), @mmorel-35 is doing it. Therefore, I'm going to redirect the question. @mmorel-35, is there anything that @ghouscht could do to help with this task? Thanks. |
We actually have two open PR for this linter so until they are merged you can start with the You can configure it with https://golangci-lint.run/usage/linters/#testifylint Golangci lint can not fix it with |
Thank you for the response @mmorel-35, I found some time today and opened two PRs for the
I also tagged you on the PRs (sorry for the spam 🙂). |
/assign @mmorel-35 @ghouscht |
Just curious - we should compare the @mmorel-35 - As you have enabled these linter rules have you noticed any meaningful increase in test runtimes in CI or locally? |
I haven't noticed any significant increase. What make you think there could be regarding the nature of changes that has been done yet ? |
Running with a clean golangci-lint cache:
with golangci-lint cache present:
I'd say that is neglible 🙂 |
What would you like to be added?
This issue formalizes @mmorel-35's work (thanks!) to enable the linter rules from the
testifylint
linter.The completion track is as follows:
Why is this needed?
To improve the code quality.
The text was updated successfully, but these errors were encountered: