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.
What to do
Section titled “What to do”Fix the line xmllint names.
Example
Section titled “Example”The XML text <settings><enabled>true</settings> has mismatched tags. Close the child element as <enabled>true</enabled> before closing settings.
Turn it off
Section titled “Turn it off”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>"