Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/docs/code-quality/lint/linters/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 640 B image not shown  

Quelle  yamllint.rst   Sprache: unbekannt

 
Spracherkennung für: .rst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

yamllint
========

`yamllint <https://github.com/adrienverge/yamllint>`__ is a linter for YAML files.


Run Locally
-----------

The mozlint integration of yamllint can be run using mach:

.. 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>`

[ Dauer der Verarbeitung: 0.39 Sekunden  ]