temp disable eslint rule

pull/5728/head
tanhauhau 3 years ago
parent 90988b663f
commit 6a1795906e

@ -4,6 +4,7 @@ import {
} from 'estree'; } from 'estree';
export default function get_object(node: Node): Identifier { export default function get_object(node: Node): Identifier {
/* eslint-disable-next-line no-constant-condition */
while (true) { while (true) {
if (node.type === 'MemberExpression') node = node.object; if (node.type === 'MemberExpression') node = node.object;
else if (node.type === 'CallExpression') node = node.callee; else if (node.type === 'CallExpression') node = node.callee;

Loading…
Cancel
Save