-
-
Notifications
You must be signed in to change notification settings - Fork 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
Linting #5706
Comments
Hi @faddat -- yes, absolutely we'll be happy to welcome your expertise and review changes like this. Thank you! A couple things to note:
I see your PRs, and now that the busy weekend is over I can start looking at them this week. Understand if it takes some time 🙂 But since I know almost nothing about how to set up fancy linters/vet tools, I'm glad you're helping us out here! I just may have lots of nits and questions. Thank you for the contributions! |
Closing this issue since 2/4 changes have been merged, 1 is still open but inactive (and has merge conflicts), and I don't know if there's more to discuss at this point, BUT feel free to continue discussion if needed! Thank you!! |
Gofumpt lints more tightly than gofmt + goimports, and produces more regular code.
Today I saw @mholt's tweet about a feature freeze, and wanting to improve quality. When faced with such situations and a go codebase, I typically break out golangci-lint. So, here's the PR's:
They build off of one another, beginning with gofumpt. The one that lints the tests will be the most involved.
Goal
So, the goal of this would be to find small bugs/errors or put tests in more places, while creating a strict format for the code that coders don't need to enfoirce.
I can't say for sure that I can accomplish any style desire, but after a few years of doing extensive bughunting with golangci-lint and other tools, I can say that I can probably accomplish almost any style desire.
The text was updated successfully, but these errors were encountered: