Showing 14,752 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
if(isEQName && ch === '\"') while(stream.next() !== '"'){}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m[1] != state.type) return "error";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eat(/[ei]/i)) {
hasExactness = true;
} else {
stream.backUp(1); // must be radix specifier
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (ch = stream.eat(/\{|%/)) {
//Cache close tag
state.intag = ch;
if(ch == "{") {
state.intag = "}";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (next == ch && stream.string.charAt(pos - 2) != "\\") { pos--; break }
- 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
Function HaxeLexical
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function HaxeLexical(indented, column, type, align, prev, info) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
while (stream.match(/^\\[CM]-/)) {}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (ch == "!" || ch == "=") stream.eat("=")
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (keywords.propertyIsEnumerable(word)) {
var kw = keywords[word]
return ret(kw.type, kw.style, word)
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (pos == 0) return
- Create a ticketCreate a ticket
Function JSLexical
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function JSLexical(indented, column, type, align, prev, info) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (word == "async" && stream.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/, false))
return ret("async", "keyword", word)
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eat("\\")) stream.eatWhile(/\w/);
else stream.next();
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(stream.eat(" ") || stream.sol()) {
if(stream.match(keywords)) {
return "keyword";
}
if(stream.match(atom)) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (identifier(stream)) {
if (stream.peek() === ':') {
return 'variable';
}
return 'variable-2';
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (ch == ":") {
if (stream.eat("'")) return chain(readQuoted("'", "atom", false), stream, state);
if (stream.eat('"')) return chain(readQuoted('"', "atom", true), stream, state);
// :> :>> :< :<< are valid symbols
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (state.inString) {
state.lastTokenWasBuiltin = false;
return "string";
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (/[<>*+\-]/.test(ch)) {
stream.eat(ch)
if (ch == ">") stream.eat(ch)
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (!(stream.match(/^[^\]\\]+/) || stream.match(/^\\./))) {
state.inCharacterClass = false;
}
- Create a ticketCreate a ticket