-
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
Adds fixer for golines #3862
Adds fixer for golines #3862
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move "golines" before "golint" in the ale-supported-languages-and-tools.txt, ale.txt, and supported-tools.md files.
@@ -183,6 +183,7 @@ Notes: | |||
* `goimports` | |||
* `golangci-lint`!! | |||
* `golangserver` | |||
* golines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one took me a while to figure out. The indentation should be using spaces instead of tabs and is missing the backticks `golines`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, for some reason vim was hiding the backticks around the other tool names and I didn't know they were required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good now.
Adds a fixer for "golines" (https://github.com/segmentio/golines) , a tool that automatically wraps long lines in go files.
Based on the goimport and gofmt fixer/tests :)