Skip to content

Latest commit

 

History

History

linebreaks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

stylistic/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.