Skip to content

Report error when file does not end with a newline character #47

@andreasabel

Description

@andreasabel

Lifted from #44 (comment).

The following violation type does not produce an error:

* Ensure that the file ends in a newline character.

Reason: After breaking the file into lines, we cannot observe anymore whether the last line ended in a newline character. So maybe we have to implement our own line-breaking function which gives an error if the last line does not end with newline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    error reportingConcering errors reported by fix-whitespace

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions