Skip to content

Gofumpt removing newlines before comments #300

@renbou

Description

@renbou

Why has gofumpt started removing newlines when it isn't needed? e.g. this is a transformation I'm constantly seeing now

Before formatting:
image

After formatting:
image

This just looks incredibly bad, to be honest...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions