mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-13 07:41:19 +08:00
Add --additional-github-domain to check-vcs-permalinks
This commit is contained in:
committed by
Anthony Sottile
parent
2323ac0558
commit
1f8151aeeb
@@ -66,6 +66,10 @@ Attempts to load all TOML files to verify syntax.
|
||||
|
||||
#### `check-vcs-permalinks`
|
||||
Ensures that links to vcs websites are permalinks.
|
||||
- `--additional-github-domain DOMAIN` - Add check for specified domain.
|
||||
Can be repeated multiple times. for example, if your company uses
|
||||
GitHub Enterprise you may use something like
|
||||
`--additional-github-domain github.example.com`
|
||||
|
||||
#### `check-xml`
|
||||
Attempts to load all xml files to verify syntax.
|
||||
|
||||
Reference in New Issue
Block a user