-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
xmlencoderclose: linter that checks xml.Encoder is closed #3895
base: master
Are you sure you want to change the base?
Conversation
Hey, thank you for opening your first Pull Request ! |
In order for a pull request adding a linter to be reviewed, the linter and the PR must follow some requirements.
Pull Request Description
Linter
The Linter Tests Inside Golangci-lint
|
2902af1
to
3207eb2
Compare
xmlencoderclose
is a linter which checks to make sure thatxml.Encoder
instances are closed. Without closing an Encoder it may not flush all data. Closing encoders also verifies the XML has balanced start/end tags.We've identified a need for this linter at Moov and it has found several bugs.