diff --git a/source/rules/rxjsNoUnsafeScopeRule.ts b/source/rules/rxjsNoUnsafeScopeRule.ts index 0d00fad7..094875bf 100644 --- a/source/rules/rxjsNoUnsafeScopeRule.ts +++ b/source/rules/rxjsNoUnsafeScopeRule.ts @@ -113,7 +113,7 @@ class Walker extends ScopeWalker { return false; } - if (isWithinCallExpressionExpression(node)) { + if (isWithinCallExpressionExpression(node) || tsutils.isTaggedTemplateExpression(node.parent)) { if (isThis(node)) { return !this.allowMethods; }