Open Bug 1790261 Opened 2 years ago

Extend ESLint rule mozilla/valid-services-property to enforce callable expressions are only used for methods

Categories

(Developer Infrastructure :: Lint and Formatting, task, P3)

Tracking

(Not tracked)

People

(Reporter: standard8, Unassigned)

References

Details

Per this comment, we should make sure that we only check the list of constants on the interface when the expression is not callable, i.e. for callable expressions we should only check the list of methods.

You need to log in before you can comment on or make changes to this bug.