Showing 1,485 of 3,294 total issues
Avoid deeply nested control flow statements. Open
Open
switch (s[v]) {
case 'function':
case 'unction':
this['function'] = true;
s[v] = 'closure';
Avoid deeply nested control flow statements. Open
Open
if (is_own(directive, d)) {
m[d] = directive[d];
}
Avoid deeply nested control flow statements. Open
Open
if (nexttoken.id !== ',') {
break;
}
Function CLASS
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CLASS: function( match, curLoop, inplace, result, not, isXML ) {
Function dirCheck
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
Avoid deeply nested control flow statements. Open
Open
for (;;) {
b = true;
c = s.charAt(l);
l += 1;
switch (c) {
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 (v === 'unused') {
unused.push({
name: n,
line: f['(line)'],
'function': f['(name)']
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 &&
Avoid deeply nested control flow statements. Open
Open
if (option.multistr) {
if (jsonmode) {
warningAt("Avoid EOL escapement.", line, character);
}
c = '';
Avoid deeply nested control flow statements. Open
Open
if (!m["use strict"] && !directive["use strict"]) {
warning("Missing \"use strict\" statement.");
}
Avoid deeply nested control flow statements. Open
Open
if (i < a.length - 1) {
n += ', ';
}
Avoid deeply nested control flow statements. Open
Open
} else if ( copy !== undefined ) {
target[ name ] = copy;
}
Avoid deeply nested control flow statements. Open
Open
if (d.isDigit()) {
if (token.id !== '.') {
warningAt("Don't use extra leading zeros '{a}'.",
line, character, t);
}
Function ATTR
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ATTR: function( match, curLoop, inplace, result, not, isXML ) {
Avoid deeply nested control flow statements. Open
Open
if (jsonmode) {
warningAt("Avoid \\x-.", line, character);
}
Avoid deeply nested control flow statements. Open
Open
if (jsonmode) {
warningAt("Avoid \\'.", line, character);
}
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 ( eraName === cal.eras[i].name.toLowerCase() ) {
era = i;
break;
}
Avoid deeply nested control flow statements. Open
Open
if (i >= 0) {
break;
}