Merge pull request #732 from hugovk/patch-1

Document file-contents-sorter arguments
This commit is contained in:
Anthony Sottile 2022-02-21 11:49:38 -05:00 committed by GitHub
commit 69b4df5589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,10 @@ Sort the lines in specified files (defaults to alphabetical).
You must provide list of target files as input to it.
Note that this hook WILL remove blank lines and does NOT respect any comments.
The following arguments are available:
- `--ignore-case` - fold lower case to upper case characters.
- `--unique` - ensure each line is unique.
#### `forbid-new-submodules`
Prevent addition of new git submodules.