Skip to content

files/xmllint

Parses every XML file with xmllint.

Part of the files configuration, at the recommended level. It runs at the commit stage, per file. It runs xmllint.

A malformed XML file fails only when a program reads it, often in a build or at run time.

Fix the line xmllint names.

The XML text <settings><enabled>true</settings> has mismatched tags. Close the child element as <enabled>true</enabled> before closing settings.

Turn it off for some files, or one of its lint rules, with a reason:

gspot ignore files/xmllint --paths "<glob>" --reason "<why>"
gspot ignore files/xmllint --rule <rule> --reason "<why>"