Showing 6,856 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
if (cut$1) {
display.view = display.view.slice(0, cut$1.index)
display.viewTo = cut$1.lineN
} else {
resetView(cm)
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (newGroup) { for (var prop in change) { if (m = prop.match(/^spans_(\d+)$/)) {
if (indexOf(newGroup, Number(m[1])) > -1) {
lst(newChanges)[prop] = change[prop]
delete change[prop]
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (dir < 0 ? m.inclusiveRight : m.inclusiveLeft)
{ near = movePos(doc, near, -dir, near && near.line == pos.line ? line : null) }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(anotherArrayOfObjects.length > 0 ){
val[valx]= anotherArrayOfObjects
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (iteratorFn !== node.entries) {
var iterator = iteratorFn.call(node);
var step = void 0;
while (!(step = iterator.next()).done) {
if (isValidElement(step.value)) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (ch == ";") return "semi";
- Create a ticketCreate a ticket
Function validateConnection
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
validateConnection: function(cellViewS, magnetS, cellViewT, magnetT, end, linkView) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.explicitlyCleared) {
if (!line.markedSpans) { break }
else {--i; continue}
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (near && near.line == pos.line && (diff = cmp(near, oldPos)) && (dir < 0 ? diff < 0 : diff > 0))
{ return skipAtomicInner(doc, near, pos, dir, mayClear) }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (q < t) {
break;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(typeof valxx === "object" && valxx.value){
anotherArrayOfObjects.push(valxx.value);
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (it.opts.verbose) {
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (it.util.varOccurences($code, $nextData) < 2) {
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
} else {
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
while ($i < l2) {
$pProperty = arr2[$i += 1];
out += ' || ' + (it.usePattern($pProperty)) + '.test(' + ($key) + ') ';
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ($ownProperties) {
out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';
} else {
out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (it.opts.messages !== false) {
out += ' , message: \'can\\\'t resolve reference ' + (it.util.escapeQuotes($schema)) + '\' ';
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ($hasDefault) {
out += ' ' + ($code) + ' ';
} else {
if ($requiredHash && $requiredHash[$propertyKey]) {
out += ' if ( ' + ($useData) + ' === undefined ';
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
while (i3 < l3) {
$propertyKey = arr3[i3 += 1];
var $prop = it.util.getProperty($propertyKey),
$missingProperty = it.util.escapeQuotes($propertyKey),
$useData = $data + $prop;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (it.opts.verbose) {
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (res) {
schema = res.schema;
root = res.root;
baseId = res.baseId;
}
- Create a ticketCreate a ticket