-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[chore]: enable len and empty rules from testifylint #11021
Conversation
2394d21
to
e27ea1a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11021 +/- ##
=======================================
Coverage 92.21% 92.21%
=======================================
Files 414 414
Lines 19728 19728
=======================================
Hits 18193 18193
Misses 1165 1165
Partials 370 370 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR enables len rule from testifylint
I don't see .golangci.yml
being changed, is it missed out?
573f3f1
to
1bbbf03
Compare
You're right, I did it on the Makefile.common but not the golangci config file |
67afab1
to
66adcd2
Compare
40f908a
to
ae0f898
Compare
ae0f898
to
b3736f6
Compare
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
b3736f6
to
5e0fec0
Compare
…11021) #### Description Testifylint is a linter that provides best practices with the use of testify. This PR enables [len](https://github.com/Antonboom/testifylint?tab=readme-ov-file#len) and [empty](https://github.com/Antonboom/testifylint?tab=readme-ov-file#empty) rules from [testifylint](https://github.com/Antonboom/testifylint) It also adds testifylint as tool to use with a make command Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Description
Testifylint is a linter that provides best practices with the use of testify.
This PR enables len and empty rules from testifylint
It also adds testifylint as tool to use with a make command