mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 01:12:59 +00:00
24 lines
578 B
Markdown
24 lines
578 B
Markdown
# linebreaks
|
|
|
|
> **Warning** This rule is deprecated and will be removed in the future. See [the migration guide](../../../docs/migration-guide/to-15.md).
|
|
|
|
Specify unix or windows linebreaks.
|
|
|
|
The [`fix` option](../../../docs/user-guide/options.md#fix) 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.
|