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

Added sqlclosecheck to linters #1203

Merged
merged 3 commits into from Jul 4, 2020
Merged

Conversation

ryanrolds
Copy link
Member

Adds sqlclosecheck linter

The goal of the linter is to identify Rows/Stmt that are not closed or closed using a defer.

@boring-cyborg
Copy link

boring-cyborg bot commented Jul 1, 2020

Hey, thank you for opening your first Pull Request !

@CLAassistant
Copy link

CLAassistant commented Jul 1, 2020

CLA assistant check
All committers have signed the CLA.

Copy link

@adamzdara adamzdara left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -0,0 +1,353 @@
//args: -Esqlclosecheck
package testdata
Copy link
Member

Choose a reason for hiding this comment

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

very extensive testing 🎉

go.sum Outdated Show resolved Hide resolved
@ryanrolds
Copy link
Member Author

All feedback should be addressed. Thank you for taking the time to review.

go.mod Outdated Show resolved Hide resolved
@ryanrolds ryanrolds requested a review from daixiang0 July 3, 2020 04:40
@daixiang0
Copy link
Contributor

/lgtm

Copy link
Member

@sayboras sayboras left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@ryanrolds
Copy link
Member Author

Anything I need to do at this point? What's the process for merging and releasing?

@iwankgb iwankgb merged commit b22e3f1 into golangci:master Jul 4, 2020
@golangci-automator
Copy link

Hey, @ryanrolds — we just merged your PR to golangci-lint! 🔥🚀

golangci-lint is built by awesome people like you. Let us say “thanks”: we just invited you to join the GolangCI organization on GitHub.
This will add you to our team of maintainers. Accept the invite by visiting this link.

By joining the team, you’ll be able to label issues, review pull requests, and merge approved pull requests.
More information about contributing is here.

Thanks again!

@ldez ldez added the linter: new Support new linter label Dec 7, 2020
@ldez ldez added this to the v1.28 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linter: new Support new linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants