Bug 1851632 - Improve documentation on linting for running locally and within editors. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D187474
This commit is contained in:
@@ -91,8 +91,8 @@ To enable a pre-commit git hook, run the following command:
|
||||
|
||||
Note that the symlink will be interpreted as ``.git/hooks/../../tools/lint/hooks.py``.
|
||||
|
||||
Fixing Lint Errors
|
||||
==================
|
||||
Automatically Fixing Lint Errors
|
||||
--------------------------------
|
||||
|
||||
``Mozlint`` has a best-effort ability to fix lint errors:
|
||||
|
||||
@@ -119,6 +119,10 @@ with your $EDITOR.
|
||||
Editor Integration
|
||||
==================
|
||||
|
||||
.. note::
|
||||
|
||||
See details on `how to set up your editor here </contributing/editor.html#editor-ide-integration>`_
|
||||
|
||||
Editor integrations are highly recommended for linters, as they let you see
|
||||
errors in real time, and can help you fix issues before you compile or run tests.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user