Skip to content

Add option to ignore lines before indent change #151

@j-d-ha

Description

@j-d-ha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions