Skip to content

Commit 95e2fe3

Browse files
committed
Document newline behavior of file-contents-sorter
1 parent 8ef58be commit 95e2fe3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Makes sure files end in a newline and only a newline.
117117
Sort the lines in specified files (defaults to alphabetical).
118118
You must provide the target [`files`](https://pre-commit.com/#config-files) as input.
119119
Note that this hook WILL remove blank lines and does NOT respect any comments.
120+
All newlines will be converted to line feeds (`\n`).
120121

121122
The following arguments are available:
122123
- `--ignore-case` - fold lower case to upper case characters.

0 commit comments

Comments
 (0)