Skip to content
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

Merged
merged 4 commits into from
Aug 9, 2021
Merged

Adds fixer for golines #3862

merged 4 commits into from
Aug 9, 2021

Conversation

pigfrown
Copy link
Contributor

@pigfrown pigfrown commented Aug 6, 2021

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 :)

Copy link
Contributor

@hsanson hsanson left a 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.

doc/ale-go.txt Outdated Show resolved Hide resolved
@@ -183,6 +183,7 @@ Notes:
* `goimports`
* `golangci-lint`!!
* `golangserver`
* golines
Copy link
Contributor

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`

Copy link
Contributor Author

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.

Copy link
Contributor

@hsanson hsanson left a 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.

@hsanson hsanson merged commit 8361253 into dense-analysis:master Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants