Showing 14,752 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
if (wordIsBlock(firstWordOfLine(stream))) return "block";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (ch == "=") {
stream.next();
ch = stream.peek();
if (ch == "=") {
stream.next();
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (!(ch == "\\" && chPos > 0)) {
state.tlvIndentationStyle[depth] = tlvScopePrefixChars[ch];
if (tlvTrackStatements) {state.statementComment = false;}
depth++;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (state.braced === 0) {
token = "matchingbracket";
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (match[0] == "//") {
// Line comment.
stream.skipToEnd();
} else {
// Block comment.
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(c=="{")
return tokenChain(stream,state,["}","}"],RXstyle,RXmodifiers);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (tlvTrackStatements && !stream.eol()) {
// Anything after comment is assumed to be real statement content.
state.statementComment = false;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (ch == ":") {
stream.next();
ch = stream.peek();
if (ch == "=") {
stream.next();
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (text[i] === "}") {
state.braced--;
if (state.braced === 0) {
token = "matchingbracket";
}
- Create a ticketCreate a ticket
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