Files
tubestation/docs/code-quality/lint/linters/eslint-plugin-mozilla/valid-services.rst

23 lines
441 B
ReStructuredText

valid-services
==============
Ensures that accesses of the ``Services`` object are valid.
Examples of incorrect code for this rule:
-----------------------------------------
Assuming ``foo`` is not defined within Services.
.. code-block:: js
Services.foo.fn();
Examples of correct code for this rule:
---------------------------------------
Assuming ``bar`` is defined within Services.
.. code-block:: js
Services.bar.fn();