Skip to content

Files

Latest commit

 

History

History
27 lines (14 loc) · 514 Bytes

linebreaks.md

File metadata and controls

27 lines (14 loc) · 514 Bytes

Pattern: Inconsistent linebreak style

Issue: -

Description

Enforces a consistent linebreak style. Choose either LF (\n) or CRLF (\r\n).

Configuration

string: "unix"|"windows"

"unix"

Linebreaks must always be LF (\n).

Lines with CRLF linebreaks are considered violations.

"windows"

Linebreaks must always be CRLF (\r\n).

Lines with LF linebreaks are considered violations.

Further Reading