Merge pull request #961 from Maetveis/document-sort-line-ending
Document newline behavior of `file-contents-sorter`
This commit is contained in:
commit
7501a4639f
|
@ -117,6 +117,7 @@ Makes sure files end in a newline and only a newline.
|
|||
Sort the lines in specified files (defaults to alphabetical).
|
||||
You must provide the target [`files`](https://pre-commit.com/#config-files) as input.
|
||||
Note that this hook WILL remove blank lines and does NOT respect any comments.
|
||||
All newlines will be converted to line feeds (`\n`).
|
||||
|
||||
The following arguments are available:
|
||||
- `--ignore-case` - fold lower case to upper case characters.
|
||||
|
|
Loading…
Reference in New Issue