Source code
Revision control
Copy as Markdown
Other Tools
# yamllint
## Run Locally
The mozlint integration of yamllint can be run using mach:
```{eval-rst}
.. parsed-literal::
$ mach lint --linter yaml <file paths>
```
Alternatively, omit `--linter yaml` to run all configured linters, including
yamllint.
## Configuration
To enable yamllint on a new directory, add the path to the include section in
the {searchfox}`yaml.yml <tools/lint/yaml.yml>` file.
## Sources
- {searchfox}`Configuration (YAML) <tools/lint/yaml.yml>`
- {searchfox}`Source <tools/lint/yamllint_/__init__.py>`