Bug 1588523 - Document the autofix when existing r=ahal

Depends on D49161

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sylvestre Ledru 2019-10-16 07:50:52 +00:00
parent 0e8bbb9060
commit 75b3cfde64
2 changed files with 13 additions and 0 deletions

View File

@ -28,6 +28,12 @@ overridden by including an ``.eslintrc`` in the appropriate subdirectory. For an
supported configuration, see `ESLint's documentation`_.
Autofix
-------
The eslint linter provides a ``--fix`` option. It is based on the upstream option.
ESLint Plugin Mozilla
---------------------

View File

@ -42,9 +42,16 @@ be re-defined.
For an overview of the supported configuration, see `flake8's documentation`_.
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.
.. _Flake8: https://flake8.readthedocs.io/en/latest/
.. _pep8: http://pep8.readthedocs.io/en/latest/
.. _pyflakes: https://github.com/pyflakes/pyflakes
.. _mccabe: https://github.com/pycqa/mccabe
.. _bug 1277851: https://bugzilla.mozilla.org/show_bug.cgi?id=1277851
.. _flake8's documentation: https://flake8.readthedocs.io/en/latest/config.html
.. _autopep8: https://github.com/hhatto/autopep8