-
Notifications
You must be signed in to change notification settings - Fork 1
Support golangci-lint fmt #35
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
Comments
I think the link you wanted to paste was: https://golangci-lint.run/usage/formatters/ ? https://github.com/bhundven/golang-pre-commit/blob/main/README.md?plain=1#L20 Are you asking for something more specific? Maybe I'm misunderstanding the request? |
I mean, when it really comes to it... You could just use the golangci-lint pre-commit or github action. This repo provides mod tidy, mod vendor, build, generate, and unit-tests, but the rest can be done with golangci-lint. |
There is now an official one made by @ldez |
Hey @bhundven
golangci-lint added support for formatters: https://golangci-lint.run/welcome/quick-start/#formatting
It would be nice to use it in pre-commit.
What do you think?
The text was updated successfully, but these errors were encountered: