1 | # linebreaks
|
2 |
|
3 | Specify unix or windows linebreaks.
|
4 |
|
5 | The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
|
6 |
|
7 | ## Options
|
8 |
|
9 | `string`: `"unix"|"windows"`
|
10 |
|
11 | ### `"unix"`
|
12 |
|
13 | Linebreaks _must always_ be LF (`\n`).
|
14 |
|
15 | Lines with CRLF linebreaks are considered violations.
|
16 |
|
17 | ### `"windows"`
|
18 |
|
19 | Linebreaks _must always_ be CRLF (`\r\n`).
|
20 |
|
21 | Lines with LF linebreaks are considered violations.
|