Showing 4,177 of 14,709 total issues
Avoid too many return
statements within this function. Open
Open
if (fieldName === FIELD_NAMES.PREFERRED_NAME) return data[fieldName];
Avoid too many return
statements within this function. Open
Open
return formatGenderIdentity(data[fieldName]);
Avoid too many return
statements within this function. Open
Open
return {
...state,
mostRecentlySavedField: null,
};
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return (
<>
<h3>Latest debt letters</h3>
<ul
className="no-bullets vads-u-padding-x--0"
Avoid too many return
statements within this function. Open
Open
return {
...state,
fieldTransactionMap,
};
Avoid too many return
statements within this function. Open
Open
return {
...state,
formFields,
hasUnsavedEdits,
initialFormFields,
Avoid too many return
statements within this function. Open
Open
return {
...state,
metadata,
transactionsAwaitingUpdate: state.transactionsAwaitingUpdate?.filter(
tid => tid !== updatedTransactionId,
Avoid too many return
statements within this function. Open
Open
return {
...state,
mostRecentlySavedField: action.fieldName,
fieldTransactionMap: {
...state.fieldTransactionMap,
Avoid too many return
statements within this function. Open
Open
return <Alert.Error />;
Avoid too many return
statements within this function. Open
Open
return {
...state,
transactionsAwaitingUpdate: state.transactionsAwaitingUpdate.concat(
transactionId,
),
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return {
...state,
transactionsAwaitingUpdate: state.transactionsAwaitingUpdate?.filter(
tid => tid !== transactionId,
),
Avoid too many return
statements within this function. Open
Open
return {
...state,
metadata,
transactions: state.transactions?.filter(
t => t.data.attributes.transactionId !== finishedTransactionId,
Avoid too many return
statements within this function. Open
Open
return 'Closed';
Avoid too many return
statements within this function. Open
Open
return <div>{renderResultItems(query, resultsData)}</div>;
Avoid too many return
statements within this function. Open
Open
return (
<div className="vads-u-margin-bottom--4">
<h4 className="highlight">Veteran-reported Satisfaction Scores</h4>
<div className="vads-u-margin-bottom--4">
<p>
Avoid too many return
statements within this function. Open
Open
return (
<ConfirmationPending
claimantName={claimantName}
confirmationDate={confirmationDate}
confirmationError={confirmationError}
Avoid too many return
statements within this function. Open
Open
return formattedOperatingHours;