Disallow accessing the value property of a BehaviorSubject instance (rxjs-x/no-subject-value)

April 18, 2025 ยท View on GitHub

๐Ÿ’ญ This rule requires type information.

This rule effects an error if the value property - or getValue method - of a BehaviorSubject is used.

When Not To Use It

If your code uses the value property or the getValue method of BehaviorSubject, then don't enable this rule.

Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.

Resources