Showing 6,856 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
if (ch == ";") return "semi";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (!stream.skipTo("#}")) {
stream.skipToEnd();
} else {
stream.eatWhile(/\#|}/);
state.incomment = false;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (match = stream.match(tlvIdentMatch)) {
// looks like an identifier (or identifier prefix)
var prefix = match[1];
var mnemonic = match[2];
if (// is identifier prefix
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (stream.eat('$')) {
if (stream.eatWhile(/[\da-f]/i))
return 'number';
} else if (stream.eat('%')) {
if (stream.eatWhile(/[01]/))
- Create a ticketCreate a ticket
Function Context
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function Context(indented, column, type, info, align, prev) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eatWhile(/\w/))
return 'def';
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (!stream.eat(")") && !stream.eat("."))
return "keyword";
- Create a ticketCreate a ticket
Function cursorCoords
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( ! cellData.includes( facetValue ) ) {
// row data does not match
rowMatchesFilter = false;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (sameLine) { (first || (first = [])).push(span$1); }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.css) { css = (css ? css + ";" : "") + m.css; }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.startStyle && sp.from == pos) { spanStartStyle += " " + m.startStyle; }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(dialog.inputs[keys[indexx]].input.trigger){
dialog.inputs[keys[indexx]].input.trigger('change');
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.attributes) {
for (var attr in m.attributes)
{ (attributes || (attributes = {}))[attr] = m.attributes[attr]; }
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if ( param.dataType.toLowerCase() === 'double' ) {
let decimals = param.value.substring( param.value.indexOf( '.' ) + 1 ).length;
for ( let j = 0; j < decimals; j++ ) {
step = step / 10;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (sp.to != null && sp.to != pos && nextChange > sp.to) {
nextChange = sp.to;
spanEndStyle = "";
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m.className) { spanStyle += " " + m.className; }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
{ if (endStyles[j$1 + 1] == nextChange) { spanEndStyle += " " + endStyles[j$1]; } } }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (dir < 0 ? preventCursorRight : preventCursorLeft)
{ 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 (oldCur[k].marker == span.marker) { continue spans } }
- Create a ticketCreate a ticket