2016-03-18 20:54:07 +03:00
|
|
|
|
Linting
|
|
|
|
|
=======
|
|
|
|
|
|
2021-01-29 12:09:12 +03:00
|
|
|
|
Linters are used in mozilla-central to help enforce coding style and avoid bad practices.
|
|
|
|
|
They cover a wide variety of languages and checks.
|
2016-03-18 20:54:07 +03:00
|
|
|
|
|
2021-01-12 18:04:35 +03:00
|
|
|
|
Getting Help
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
If you need help or have questions, please don’t hesitate to contact us via Matrix
|
|
|
|
|
in the "Lint and Formatting" room
|
|
|
|
|
(`#lint:mozilla.org <https://chat.mozilla.org/#/room/#lint:mozilla.org>`_).
|
|
|
|
|
|
2021-01-29 12:09:12 +03:00
|
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
:caption: Getting Started
|
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
|
|
usage
|
|
|
|
|
|
2016-03-18 20:54:07 +03:00
|
|
|
|
.. toctree::
|
2021-01-29 12:09:12 +03:00
|
|
|
|
:caption: Linter Implementations
|
2019-12-02 20:30:07 +03:00
|
|
|
|
:maxdepth: 1
|
2019-10-16 10:49:22 +03:00
|
|
|
|
:glob:
|
2016-03-18 20:54:07 +03:00
|
|
|
|
|
2019-10-16 10:49:22 +03:00
|
|
|
|
linters/*
|
2021-01-29 12:09:12 +03:00
|
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
:caption: Linter Specifics
|
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
|
|
mozlint
|
|
|
|
|
create
|