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

Add option to ignore lines before indent change #151

Open
j-d-ha opened this issue Oct 10, 2024 · 0 comments
Open

Add option to ignore lines before indent change #151

j-d-ha opened this issue Oct 10, 2024 · 0 comments

Comments

@j-d-ha
Copy link

j-d-ha commented Oct 10, 2024

I am a big fan of golines but I tend not to use it due to the fact that my team follows the Google Go style guide. Specifically, the style guide requires that lines not be shortened before a change in indentation, such as a function signature or an if statement. I am wondering if there is any interest in adding a flag to control formatting lines before an indentation change to allow golines to confirm to optionally conform to the Google Go style guide.

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

No branches or pull requests

1 participant