Showing 3,294 of 3,294 total issues
Avoid deeply nested control flow statements. Open
Open
if ( date ) {
break;
}
Function inspectPrefiltersOrTransports
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR,
dataType /* internal */, inspected /* internal */ ) {
Avoid deeply nested control flow statements. Open
Open
for (;;) {
b = true;
c = s.charAt(l);
l += 1;
switch (c) {
Function dirNodeCheck
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
Avoid deeply nested control flow statements. Open
Open
for (i = 0; i < k.length; i += 1) {
predefined[k[i]] = !!a[k[i]];
}
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 (jsonmode) {
warningAt("Avoid \\v.", line, character);
}
Avoid deeply nested control flow statements. Open
Open
} else if (t.value === 'maxlen' && (o === '/*jshint' || o === '/*jslint')) {
b = +v.value;
if (typeof b !== 'number' || !isFinite(b) || b <= 0 ||
Math.floor(b) !== b) {
error("Expected a small integer and instead saw '{a}'.",
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 (left.value === 'Math') {
warning("Math is not a function.", left);
} else if (option.newcap) {
warning(
"Missing 'new' prefix when invoking a constructor.", left);
Avoid deeply nested control flow statements. Open
Open
if (nexttoken.id !== ',') {
break;
}
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
if (jsonmode) {
warningAt("Avoid \\'.", line, character);
}
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 (!nextLine()) {
errorAt("Unclosed comment.", line, character);
}
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 (data.member[k] === 1) {
n = '<i>' + n + '</i>';
}
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 (pn.id !== "(string)" && pn.id !== "(number)" &&
pn.id !== "(regexp)" && pn.identifier !== true &&
pn.id !== "}") {
break;
}
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);
}