diff --git a/crates/oxc_linter/src/rules/jsx_a11y/iframe_has_title.rs b/crates/oxc_linter/src/rules/jsx_a11y/iframe_has_title.rs index e7827fcf1..c56097d8d 100644 --- a/crates/oxc_linter/src/rules/jsx_a11y/iframe_has_title.rs +++ b/crates/oxc_linter/src/rules/jsx_a11y/iframe_has_title.rs @@ -99,6 +99,9 @@ impl Rule for IframeHasTitle { return; } } + JSXExpression::CallExpression(_) => { + return; + } expr @ JSXExpression::Identifier(_) => { if !expr.is_undefined() { return; @@ -124,6 +127,7 @@ fn test() { (r"