File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -893,9 +893,10 @@ const rule: TSESLint.RuleModule<MessageIds, []> = {
893
893
"ResizeObserver" ,
894
894
] . includes ( callee . name )
895
895
) {
896
- // on* and timers are NOT tracked scopes. However, they don't need to react
897
- // to updates to reactive variables; it's okay to poll the current
898
- // value. Consider them called-function tracked scopes for our purposes.
896
+ // on*, timers, and observers are NOT tracked scopes. However, they
897
+ // don't need to react to updates to reactive variables; it's okay
898
+ // to poll the current value. Consider them called-function tracked
899
+ // scopes for our purposes.
899
900
pushTrackedScope ( arg0 , "called-function" ) ;
900
901
} else if ( matchImport ( "on" , callee . name ) ) {
901
902
// on accepts a signal or an array of signals as its first argument,
You can’t perform that action at this time.
0 commit comments