22 lines
473 B
Markdown
Raw Normal View History

2020-05-19 11:43:42 +03:00
# linebreaks
Specify unix or windows linebreaks.
The `--fix` option on the [command line](../../../docs/user-guide/cli.md#autofixing-errors) 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 violations.
### `"windows"`
Linebreaks _must always_ be CRLF (`\r\n`).
Lines with LF linebreaks are considered violations.