# files/xmllint

> Parses every XML file with xmllint.

Parses every XML file with xmllint.

Part of the [`files`](/reference/configurations/files/) configuration, at the `recommended` [level](/start/concepts/#levels). It runs at the `commit` [stage](/start/concepts/#stage), per file. It runs xmllint.

## Why

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

## What to do

Fix the line xmllint names.

## 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

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

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