mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 02:16:52 +00:00
Merge pull request #732 from hugovk/patch-1
Document file-contents-sorter arguments
This commit is contained in:
commit
69b4df5589
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue