Showing 365 of 1,033 total issues
Avoid too many return
statements within this function. Open
Open
return error.sendErrorAsJSON(res, new error.FormSubmissionError(
'Something went wrong when registering, please try again!'
));
Avoid too many return
statements within this function. Open
Open
return {errorMessage: 'Day is not valid', isValid: false};
Avoid too many return
statements within this function. Open
Open
return {errorMessage: 'Day is not valid for this month', isValid: false};
Avoid too many return
statements within this function. Open
Open
return {errorMessage: 'Year is not leap, invalid day', isValid: false};
Avoid too many return
statements within this function. Open
Open
return [];
Avoid too many return
statements within this function. Open
Open
return {errorMessage: 'Month is not valid', isValid: false};
Avoid too many return
statements within this function. Open
Open
return formatNewDisambiguation(change);
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return baseFormatter.formatTypeChange(change, 'Author Type');
Avoid too many return
statements within this function. Open
Open
return baseFormatter.formatAreaChange(change);
Avoid too many return
statements within this function. Open
Open
return {errorMessage: '', isValid: true};
Avoid too many return
statements within this function. Open
Open
return {errorMessage: 'Day is not valid for this month', isValid: false};
Avoid too many return
statements within this function. Open
Open
return baseFormatter.formatTypeChange(change, 'Edition Status');
Avoid too many return
statements within this function. Open
Open
return {errorMessage: 'Month must be entered if day is entered', isValid: false};
Avoid too many return
statements within this function. Open
Open
return {errorMessage: '', isValid: true};
Avoid too many return
statements within this function. Open
Open
return formatChangedDisambiguation(change);
Avoid too many return
statements within this function. Open
Open
return formatAddOrDeleteRelationshipSet(entity, change);
Avoid too many return
statements within this function. Open
Open
return baseFormatter.formatTypeChange(change, 'Edition Format');
Avoid too many return
statements within this function. Open
Open
return baseFormatter.formatAreaChange(change, 'Begin Area');
Avoid too many return
statements within this function. Open
Open
return null;