Skip to content

comkieffer/xml-linter-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML lint hook for pre-commit

Lint your xml files with xmllint.

Usage

Add the hook to your .pre-commit-config.yaml configuraiton:

  - repo: https://github.com/comkieffer/pre-commit-xmllint.git
    rev: 1.0.0
    hooks:
      - id: xmllint

For more advanced usage (e.g. validate using a schema), pass the options with the args array:

  - repo: https://github.com/comkieffer/pre-commit-xmllint.git
    rev: 1.0.0
    hooks:
      - id: xmllint
        args: [
          --schema,
          http://download.ros.org/schema/package_format3.xsd
        ]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published