-
-
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
Introduce the https://github.com/segmentio/golines linter #1914
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Hello, https://github.com/segmentio/golines
I think it's out of the scope of golangci-lint. |
Aren't gofumpt and gofmt formatters, and yet they are part of golangci-lint? |
They are used as linter, to handle long lines there is the |
|
@ldez if |
We already have |
@ldez One of the biggest gripes I have with |
The motivation here is have to think less about code formatting when writing code, e.g. " Should I break this long list of args up? Should I add a newline between all of these args". The `golangci-lint` team don't want to inlcude this there for reasons[1] so run it instead via `pre-commit`. This is using a fork which just has one extra commit[2] until [3] is merged upstream [1] golangci/golangci-lint#1914 [2] segmentio/golines@dedb5a0 [3] segmentio/golines#103
Hi @ldez! |
For now, |
Is your feature request related to a problem? Please describe.
This linter actually fixes long lines which is very convenient.
Describe the solution you'd like
Please add this linter to golangci-lint
https://github.com/segmentio/golines
The text was updated successfully, but these errors were encountered: