Showing 1,251 of 1,982 total issues
Avoid too many return
statements within this function. Open
Open
return this.parseFor(node, init);
Avoid too many return
statements within this function. Open
Open
if (t.isCallExpression(elem)) return false;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return validator.oneOfNodeTypes.map(_ => nodePrefix + _).join(" | ");
Avoid too many return
statements within this function. Open
Open
if (is("MetaProperty", parent, { meta: node })) return;
Avoid too many return
statements within this function. Open
Open
return sequenceExpression(exprs);
Avoid too many return
statements within this function. Open
Open
return validator.oneOfNodeOrValueTypes
.map(_ => {
return isValueType(_) ? _ : nodePrefix + _;
})
.join(" | ");
Avoid too many return
statements within this function. Open
Open
return regExpLiteral(pattern, flags);
Avoid too many return
statements within this function. Open
Open
return objectExpression(props);
Avoid too many return
statements within this function. Open
Open
if (is("Property", parent, nonComp)) return;
Avoid too many return
statements within this function. Open
Open
if (t.isMemberExpression(elem)) return false;
Avoid too many return
statements within this function. Open
Open
if (is("ExportSpecifier", parent)) return;
Avoid too many return
statements within this function. Open
Open
if (parts[i] !== value) return false;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return exprs[0];
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return genericTypeAnnotation(identifier("Object"));
Avoid too many return
statements within this function. Open
Open
return (
"{ " +
Object.keys(validator.shapeOf)
.map(shapeKey => {
const propertyDefinition = validator.shapeOf[shapeKey];
Avoid too many return
statements within this function. Open
Open
return genericTypeAnnotation(identifier("Symbol"));