-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
In some parts of the codebase, there are unnecessary newline characters following return statements. These newline characters create unnecessary separation in the code.
I searched for them with
rg -tgo -U 'return.*\n\n}'
and found 32 files and all new lines looks like a mistype.
I tried to think of a case where new line after return would be useful, but nothing came to mind. Maybe it would be better to remove them? Or even add new check to gofmt.
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.