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 gosec G602 rule #3287

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

alexandear
Copy link
Contributor

This PR enables the G602 gosec rule in golangci-lint's config because golangci-lint 1.60.2 doesn't have any problems with gosec's performance. The issues golangci/golangci-lint#4039 and securego/gosec#1007 have been fixed.

golangci-lint 1.60.2 doesn't have any problems with
gosec's performance.
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.97%. Comparing base (2b8c7fa) to head (064e111).
Report is 121 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3287      +/-   ##
==========================================
- Coverage   97.72%   92.97%   -4.75%     
==========================================
  Files         153      171      +18     
  Lines       13390    11715    -1675     
==========================================
- Hits        13085    10892    -2193     
- Misses        215      729     +514     
- Partials       90       94       +4     

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

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @alexandear !
LGTM.
Merging.

@gmlewis gmlewis merged commit 7fbf488 into google:master Sep 24, 2024
6 of 7 checks passed
@alexandear alexandear deleted the chore/enable-gosec-g602 branch September 24, 2024 16:23
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