Skip to content
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 testifylint linter #874

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

mmorel-35
Copy link
Contributor

Description

This enables testifylint which is a linter that checks for usage of github.com/stretchr/testify.

Copy link

codecov bot commented Nov 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.89%. Comparing base (dbd7529) to head (e2cb2af).
Report is 58 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #874      +/-   ##
==========================================
- Coverage   62.36%   58.89%   -3.47%     
==========================================
  Files         197      199       +2     
  Lines        4854     5790     +936     
==========================================
+ Hits         3027     3410     +383     
- Misses       1439     1988     +549     
- Partials      388      392       +4     
Flag Coverage Δ
unit 58.89% <100.00%> (-3.47%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@rhybrillou rhybrillou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @mmorel-35 ,
Thank you for this contribution.
At the moment, I see code changes that are likely the fixes to linter reports, but don't see changes that would actually activate the linter itself. Could you check if some configuration file or change to a configuration file is missing ?

@mmorel-35 mmorel-35 force-pushed the golangci-lint/testifylint branch from e6274e3 to e9ea84c Compare December 2, 2024 09:32
Signed-off-by: Matthieu MOREL <[email protected]>
@mmorel-35 mmorel-35 force-pushed the golangci-lint/testifylint branch from e9ea84c to e2cb2af Compare December 2, 2024 09:40
@mmorel-35
Copy link
Contributor Author

Hi @rhybrillou ,

Indeed I missed it, here it comes ;)

@rhybrillou rhybrillou merged commit 4544b0b into stackrox:main Dec 2, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants