Skip to content

Extra empty line at the end of a block because that empty line is a comment #670

Closed
@zimmski

Description

@zimmski

(i am currently in the process of adding "revive" to our linter stack and i am going through the false-positives for us)

Describe the bug

{
   some code

   // comment
}

leads to "extra empty line at the end of a block" even though it shouldn't.

Expected behavior

Such comments are meant for exactly being at that location. Marking the comment as a probem, is a false-positive for our source code.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions