Showing 3,294 of 3,294 total issues
Avoid deeply nested control flow statements. Open
Open
if (self.cachedHints.deferred &&
self.cachedHints.deferred.state() === "pending") {
self.cachedHints.deferred.reject();
self.cachedHints.deferred = null;
}
Function SymbolInformation
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function SymbolInformation(label, fullPath, selectionRange, type, scope, isDocumentSymbolRequest) {
Avoid deeply nested control flow statements. Open
Open
if (range) {
mark = marker(opts.indicatorFolded);
} else {
cm.findMarksAt(pos).filter(isFold)
.forEach(clear);
Avoid deeply nested control flow statements. Open
Open
if (hints[i].toLowerCase().indexOf(query) === 0) {
foundPrefix = true;
break;
}
Avoid deeply nested control flow statements. Open
Open
if (range && range.to.line - range.from.line >= minFoldSize) {
mark = marker(opts.indicatorOpen);
}
Avoid deeply nested control flow statements. Open
Open
if (!hidden) {
shouldHide.push(i); // lines below end line should be hidden
}
Function isOver
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
isOver: function( y, x, top, left, height, width ) {
Avoid deeply nested control flow statements. Open
Open
if (currentDeferred && currentDeferred.state() === "pending") {
currentDeferred.reject();
}
Avoid deeply nested control flow statements. Open
Open
if (lookAhead("'"))
output += "'";
else
literal = true;
Avoid deeply nested control flow statements. Open
Open
switch (col) {
case 0: calender += ' ui-datepicker-group-first';
cornerClass = ' ui-corner-' + (isRTL ? 'right' : 'left'); break;
case numMonths[1]-1: calender += ' ui-datepicker-group-last';
cornerClass = ' ui-corner-' + (isRTL ? 'left' : 'right'); break;
Function error
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function error(m, t, a, b, c, d) {
Function warning
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function warning(m, t, a, b, c, d) {
Avoid deeply nested control flow statements. Open
Open
if ( eraName === cal.eras[i].name.toLowerCase() ) {
era = i;
break;
}
Avoid deeply nested control flow statements. Open
Open
if (typeof b !== 'number' || !isFinite(b) || b <= 0 ||
Math.floor(b) !== b) {
error("Expected a small integer and instead saw '{a}'.",
v, v.value);
}
Avoid deeply nested control flow statements. Open
Open
if (option.newcap && (i < 'A' || i > 'Z')) {
warning("A constructor name should start with an uppercase letter.",
token);
}
Avoid deeply nested control flow statements. Open
Open
if (l + n.length > 72) {
o.push(m + '<br>');
m = ' ';
l = 1;
}
Avoid deeply nested control flow statements. Open
Open
if (jsonmode) {
warningAt("Avoid \\x-.", line, character);
}
Function CLASS
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CLASS: function( match, curLoop, inplace, result, not, isXML ) {
Avoid deeply nested control flow statements. Open
Open
if (i >= 0) {
break;
}
Avoid deeply nested control flow statements. Open
Open
if (option.undef) {
// Attempting to subscript a null reference will throw an
// error, even within the typeof and delete operators
if (!(anonname === 'typeof' || anonname === 'delete') ||
(nexttoken &&