mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
Merge pull request #961 from Maetveis/document-sort-line-ending
Document newline behavior of `file-contents-sorter`
This commit is contained in:
commit
7501a4639f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue