Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 692 Bytes

no-digest.md

File metadata and controls

19 lines (11 loc) · 692 Bytes

no-digest - use $apply() instead of $digest()

This rule is deprecated and will be removed in future versions. Explanation: There is no reason to forbid the use of $digest() in general.

The scope's $digest() method shouldn't be used. You should prefer the $apply method.

The watchers-execution rule can be configured to enforce the use of $apply() or $digest().

Version

This rule was introduced in eslint-plugin-angular 0.1.0

Links