Skip to content

Validate / Introduce Requirement re "newline" at line end #1213

@ghost

Description

          Super minor whitespace nit:

Originally posted by @StephenButtolph in #1211 (comment)

I'm used to hitting "RETURN" at the end-of-line, even if it is the last line of the file.

nit

To my knowledge, several tools depend on the existents of a "newline", otherwise they do not recognize the line as such.

There's even a standard:

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206

Suggestion

Introduce a requirement to always add a newline at the end of a line, even if it is the last line of a document.

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