add forbid-submodules hook

This commit is contained in:
Anthony Sottile 2022-10-04 15:56:38 -04:00
parent 927380bee2
commit a9b6a7e7fa
2 changed files with 12 additions and 0 deletions

View file

@ -133,6 +133,12 @@ The following arguments are available:
#### `forbid-new-submodules`
Prevent addition of new git submodules.
This is intended as a helper to migrate away from submodules. If you want to
ban them entirely use `forbid-submodules`
#### `forbid-submodules`
forbids any submodules in the repository.
#### `mixed-line-ending`
Replaces or checks mixed line ending.
- `--fix={auto,crlf,lf,no}`