Bug 1588523 - add links to the sources everywhere r=ahal

Depends on D49162

Differential Revision: https://phabricator.services.mozilla.com/D49163

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sylvestre Ledru 2019-10-16 07:51:59 +00:00
Родитель 75b3cfde64
Коммит 0c43e713ef
10 изменённых файлов: 64 добавлений и 1 удалений

Просмотреть файл

@ -28,3 +28,9 @@ Autofix
Codespell provides a ``--fix`` option. It is based on the ``-w`` option provided by upstream.
.. _codespell: https://github.com/codespell-project/codespell/
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/codespell.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/spell/__init__.py>`_

Просмотреть файл

@ -22,3 +22,9 @@ Configuration
-------------
This linter is enabled on all C family files.
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/cpp-virtual-final.yml>`_

Просмотреть файл

@ -33,6 +33,12 @@ Autofix
The eslint linter provides a ``--fix`` option. It is based on the upstream option.
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/eslint.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/eslint/__init__.py>`_
ESLint Plugin Mozilla
---------------------

Просмотреть файл

@ -30,3 +30,9 @@ Autofix
This linter provides a ``--fix`` option. The python script is doing the change itself.
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/file-perm.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/file-perm/__init__.py>`_

Просмотреть файл

@ -24,3 +24,9 @@ Autofix
-------
This linter provides a ``--fix`` option. The python script is doing the change itself.
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/file-whitespace.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/file-whitespace/__init__.py>`_

Просмотреть файл

@ -48,6 +48,14 @@ Autofix
The flake8 linter provides a ``--fix`` option. It is based on `autopep8`_.
Please note that autopep8 does NOT fix all issues reported by flake8.
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/flake8.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/python/flake8.py>`_
.. _Flake8: https://flake8.readthedocs.io/en/latest/
.. _pep8: http://pep8.readthedocs.io/en/latest/
.. _pyflakes: https://github.com/pyflakes/pyflakes

Просмотреть файл

@ -37,3 +37,9 @@ The linter checks out the cross-channel localization files into your
48 hours. There might be new strings anyway, if you want to ensure an
updated clone, remove the marker file in
``~/.mozbuild/gecko-strings/.hg/l10n_pull_marker``.
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/l10n.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/python/l10n_lint.py>`_

Просмотреть файл

@ -23,3 +23,9 @@ Fixing Lintpref Errors
In most cases, duplicate entries should be avoided and the duplicate removed
from ``all.js``. If for any reason a pref should exist in both files, the pref
should be added to ``IGNORE_PREFS`` in ``tools/lint/libpref/__init__.py``.
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/lintpref.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/libpref/__init__.py>`_

Просмотреть файл

@ -20,3 +20,9 @@ Configuration
This linter is enabled on the whole code base except WebRTC
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/mingw-capitalization.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/cpp/mingw-capitalization.py>`_

Просмотреть файл

@ -22,4 +22,11 @@ If you wish to exclude a subdirectory of an included one, you can add it to the
directive.
.. _rstcheck: https://github.com/myint/rstcheck
.. _rstcheck: https://github.com/myint/rstcheck
Sources
-------
* `Configuration <https://searchfox.org/mozilla-central/source/tools/lint/rst.yml>`_
* `Source <https://searchfox.org/mozilla-central/source/tools/lint/rst/__init__.py>`_