Skip to content

support autofix in golangci-lint #1

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

Closed
dangogh opened this issue Aug 3, 2020 · 1 comment · Fixed by #2
Closed

support autofix in golangci-lint #1

dangogh opened this issue Aug 3, 2020 · 1 comment · Fixed by #2

Comments

@dangogh
Copy link

dangogh commented Aug 3, 2020

I see a lot of new lint errors indicated by this linter.

It would really be beneficial for the auto-fix feature in golangci-lint to be able to fix these.

$ golangci-lint linters | grep nlreturn
nlreturn: nlreturn checks for a new line before return and branch statements to increase code clarity [fast: true, auto-fix: false]
@wreulicke
Copy link
Contributor

Sorry, I misunderstood.
This issue is not fixed.
golangci/golangci-lint#1322 (comment)

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 a pull request may close this issue.

2 participants