Skip to content

Commit

Permalink
Merge pull request #961 from Maetveis/document-sort-line-ending
Browse files Browse the repository at this point in the history
Document newline behavior of `file-contents-sorter`
  • Loading branch information
asottile committed Sep 14, 2023
2 parents 8ef58be + 95e2fe3 commit 7501a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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.
Expand Down

0 comments on commit 7501a46

Please sign in to comment.