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

Ignore false-positive gosec G307 linting errors #124

Merged
merged 1 commit into from Nov 9, 2021

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Nov 9, 2021

Issues reported after upgrading golangci-lint to v1.43.0.
gosec was updated in that version from v2.8.1 to v2.9.1.

fixes #123
refs golangci/golangci-lint#2299

Issues reported after upgrading golangci-lint to v1.43.0.
gosec was updated in that version from v2.8.1 to v2.9.1.

refs #123
refs golangci/golangci-lint#2299
@atc0005 atc0005 added bug Something isn't working linting labels Nov 9, 2021
@atc0005 atc0005 added this to the Next Release milestone Nov 9, 2021
@atc0005 atc0005 self-assigned this Nov 9, 2021
@atc0005 atc0005 merged commit 3558ebb into master Nov 9, 2021
@atc0005 atc0005 deleted the i123-ignore-false-positive-gosec-linting-error branch November 9, 2021 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive G307: Deferring unsafe method "Close" on type "*os.File" (gosec) linting error
1 participant