Skip to content

Commit 7501a46

Browse files
authored
Merge pull request #961 from Maetveis/document-sort-line-ending
Document newline behavior of `file-contents-sorter`
2 parents 8ef58be + 95e2fe3 commit 7501a46

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)