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 #162

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Nov 10, 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 #161
refs golangci/golangci-lint#2299

@atc0005 atc0005 added bug Something isn't working linting labels Nov 10, 2021
@atc0005 atc0005 added this to the Next Release milestone Nov 10, 2021
@atc0005 atc0005 self-assigned this Nov 10, 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.

refs #161
refs golangci/golangci-lint#2299
@atc0005 atc0005 force-pushed the i161-ignore-false-positive-gosec-linting-error branch from 4113fc7 to 3f4b259 Compare November 10, 2021 10:35
@atc0005 atc0005 merged commit 0e2a05f into master Nov 10, 2021
@atc0005 atc0005 deleted the i161-ignore-false-positive-gosec-linting-error branch November 10, 2021 10:37
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