mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 16:19:06 +01:00
Add pre-commit xmlint hook on doc change
This commit is contained in:
parent
796e3287e9
commit
f8c38dd3b6
1 changed files with 10 additions and 0 deletions
|
@ -7,3 +7,13 @@ repos:
|
|||
- id: php-stan
|
||||
files: ^src\/.*\.(php)$
|
||||
args: ['--configuration=.phpstan/config.neon']
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: xmlint
|
||||
files: ^doc\/.*\.(docbook)$
|
||||
name: xmlint
|
||||
entry: xmllint --valid --noout doc/LdapSaisie.docbook
|
||||
pass_filenames: false
|
||||
language: system
|
||||
types: [text]
|
||||
pass_filenames: false
|
||||
|
|
Loading…
Reference in a new issue