diff --git a/src/compiler/compile/utils/get_object.ts b/src/compiler/compile/utils/get_object.ts index d6dc3b1e20..950118a5ad 100644 --- a/src/compiler/compile/utils/get_object.ts +++ b/src/compiler/compile/utils/get_object.ts @@ -4,6 +4,7 @@ import { } from 'estree'; export default function get_object(node: Node): Identifier { + /* eslint-disable-next-line no-constant-condition */ while (true) { if (node.type === 'MemberExpression') node = node.object; else if (node.type === 'CallExpression') node = node.callee;