Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/docs/code-quality/lint/linters/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 758 B image not shown  

Quelle  gecko-trace.rst   Sprache: unbekannt

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

Gecko Trace
===========

This linter verifies if a gecko-trace file is correctly defined.

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

This mozlint linter can be run using mach:

.. parsed-literal::

    $ mach lint --linter gecko-trace <file paths>

It will check two things:
 * All the gecko-trace files must be listed in ``toolkit/components/gecko-trace/index.py``,
 * The ``toolkit/components/gecko-trace/generated-metrics.yaml`` file must be up to date.

Configuration
-------------

This linter is enabled on the whole code base.

Autofix
-------

This linter provides a ``--fix`` option for the ``generated-metrics.yaml`` file.

Sources
-------

* :searchfox:`Configuration (YAML) <tools/lint/gecko-trace.yml>`
* :searchfox:`Source <tools/lint/gecko-trace/__init__.py>`

[Dauer der Verarbeitung: 0.31 Sekunden]