diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e611e2b8..94b41803 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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