Showing 650 of 650 total issues
Avoid deeply nested control flow statements. Open
Open
if (suspense.pendingId === pendingId) {
suspense.fallback(newFallback);
}
Avoid deeply nested control flow statements. Open
Open
if (newIndex >= maxNewIndexSoFar) {
maxNewIndexSoFar = newIndex;
}
else {
moved = true;
Avoid deeply nested control flow statements. Open
Open
if (contentType >= 2 /* CAN_HOIST */) {
child.codegenNode = context.hoist(child.codegenNode);
hasHoistedNode = true;
}
Avoid deeply nested control flow statements. Open
Open
else if (timeout === 0) {
suspense.fallback(newFallback);
}
Avoid deeply nested control flow statements. Open
Open
if (j < 0 || i !== increasingNewIndexSequence[j]) {
move(nextChild, container, anchor, 2 /* REORDER */);
}
else {
j--;
Avoid deeply nested control flow statements. Open
Open
if (value !== attrs[key]) {
attrs[key] = value;
hasAttrsChanged = true;
}
Avoid deeply nested control flow statements. Open
Open
for (j = s2; j <= e2; j++) {
if (newIndexToOldIndexMap[j - s2] === 0 &&
isSameVNodeType(prevChild, c2[j])) {
newIndex = j;
break;
Avoid deeply nested control flow statements. Open
Open
if (!prev ||
!next ||
(!preserve &&
(prev.type === 3 /* COMMENT */ ||
next.type === 3 /* COMMENT */ ||
Avoid deeply nested control flow statements. Open
Open
if (domType !== 8 /* COMMENT */) {
nextNode = onMismatch();
}
else {
nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);
Avoid deeply nested control flow statements. Open
Open
if (startsWith(s, '<!--')) {
node = parseComment(context);
}
else if (startsWith(s, '<!DOCTYPE')) {
// Ignore DOCTYPE by a limitation.
Avoid deeply nested control flow statements. Open
Open
if (nextProps[key] !== prevProps[key] &&
!isEmitListener(emits, key)) {
return true;
}
Avoid deeply nested control flow statements. Open
Open
if (suspense.deps <= 0) {
suspense.resolve();
}
Avoid deeply nested control flow statements. Open
Open
if (isFragmentStart) {
subTree = createVNode(Fragment);
subTree.anchor = nextNode
? nextNode.previousSibling
: container.lastChild;
Avoid deeply nested control flow statements. Open
Open
if (keyToNewIndexMap.has(nextChild.key)) {
warn(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);
}
Avoid deeply nested control flow statements. Open
Open
else if (!preserve) {
// in condense mode, consecutive whitespaces in text are condensed
// down to a single space.
node.content = node.content.replace(/[\t\r\n\f ]+/g, ' ');
}
Avoid deeply nested control flow statements. Open
Open
if (staticSlotName === 'default') {
hasNamedDefaultSlot = true;
}
Avoid deeply nested control flow statements. Open
Open
if (isVBind) {
mergeArgs.push(exp);
}
else {
// v-on="obj" -> toHandlers(obj)
Avoid deeply nested control flow statements. Open
Open
if (hasOwn(attrs, key)) {
if (value !== attrs[key]) {
attrs[key] = value;
hasAttrsChanged = true;
}
Avoid deeply nested control flow statements. Open
Open
if (rawPrevProps &&
// for camelCase
(rawPrevProps[key] !== undefined ||
// for kebab-case
rawPrevProps[kebabKey] !== undefined)) {
Avoid deeply nested control flow statements. Open
Open
for (let i = 0, l = keys.length; i < l; i++) {
const key = keys[i];
ret[i] = renderItem(source[key], key, i);
}