Showing 1,006 of 6,062 total issues
Avoid too many return
statements within this function. Open
Open
return ret("operator", null, stream.current());
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (type == ";") return cont();
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return chain(stream, state, jsTokenComment);
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return ret("regexp", "string");
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
else if (lexical.align) return lexical.column + (closing ? 0 : 1);
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return known ? ret(known.type, known.style, word) :
ret("variable", "variable", word);
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (type == "catch") return cont(pushlex("form"), pushcontext, expect("("), funarg, expect(")"),
statement, poplex, popcontext);
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return lexical.indented + (/^(?:case|default)\b/.test(textAfter) ? indentUnit : 2 * indentUnit);
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (!anyMod && code == 13) {return;} // enter
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return pass(pushlex("stat"), expression, expect(";"), poplex);
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (type == "[") return cont(pushlex("]"), commasep(expression, "]"), poplex, maybeoperator);
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return {start: start, end: end};
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (type == "{") return cont(pushlex("}"), commasep(objprop, "}"), poplex, maybeoperator);
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (!anyMod && code == 9 && handleTab(e.e.shiftKey)) return e.stop(); // tab
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (mod && code == 90) {undo(); return e.stop();} // ctrl-z
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (mod && ((e.e.shiftKey && code == 90) || code == 89)) {redo(); return e.stop();} // ctrl-shift-z, ctrl-y
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return changed ? "changed" : moved ? "moved" : false;
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (type == "case") return cont(expression, expect(":"));
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return ret("comment", "comment");
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
if (type == "variable") return cont(pushlex("stat"), maybelabel);
- Create a ticketCreate a ticket