зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
0e8bbb9060
Коммит
75b3cfde64
|
@ -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
|
||||
---------------------
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче