Ensures that accesses of properties of items accessed via the
object are valid.
This rule requires a full build to run, and is not turned on by default. To run this rule manually, use:
MOZ_OBJDIR=objdir-ff-opt ./mach eslint --rule="mozilla/valid-services-property: error" *
Examples of incorrect code for this rule:¶
foo is not defined within
Examples of correct code for this rule:¶
bar is defined within