Document newline behavior of file-contents-sorter

This commit is contained in:
Mészáros Gergely 2023-09-06 17:01:03 +00:00
parent 8ef58bed01
commit 95e2fe33af

View file

@ -117,6 +117,7 @@ Makes sure files end in a newline and only a newline.
Sort the lines in specified files (defaults to alphabetical). Sort the lines in specified files (defaults to alphabetical).
You must provide the target [`files`](https://pre-commit.com/#config-files) as input. 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. 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: The following arguments are available:
- `--ignore-case` - fold lower case to upper case characters. - `--ignore-case` - fold lower case to upper case characters.