跳到主要内容

linebreaks

Specify unix or windows linebreaks.

The fix option can automatically fix all of the problems reported by this rule.

Options

string: "unix"|"windows"

"unix"

Linebreaks must always be LF (\n).

Lines with CRLF linebreaks are considered problems.

"windows"

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

Lines with LF linebreaks are considered problems.