Showing 3,724 of 12,675 total issues
Consider simplifying this complex logical expression. Open
Open
if (
(route.requiresLOA3 && !this.props.isLOA3) ||
(route.requiresMVI && !this.props.isInMVI) ||
(route.requiresLOA3 && this.props.isBlocked)
) {
Consider simplifying this complex logical expression. Open
Open
if (records?.length) {
const vitalDisplayName = vitalTypeDisplayNames[records[0].type];
return (
<>
<PrintHeader />
Consider simplifying this complex logical expression. Open
Open
if (isRefillable) {
return (
<div className="rx-fill-refill-button" data-testid="fill-refill">
{success && (
<va-alert status="success" setFocus aria-live="polite" uswds>
Consider simplifying this complex logical expression. Open
Open
} else if (
((prescriptionsFullList?.length &&
pdfTxtGenerateStatus.format !== PRINT_FORMAT.PRINT) ||
(paginatedPrescriptionsList?.length &&
pdfTxtGenerateStatus.format === PRINT_FORMAT.PRINT)) &&
Function setSaveFormStatus
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
saveType,
status,
lastSavedDate = null,
expirationDate = null,
inProgressFormId = null,
Function validateRoutingNumber
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
routingNumber,
formData,
schema,
errorMessages,
Function validateNameSymbols
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function validateNameSymbols(errors, value, uiSchema, schema, messages) {
Function validateCurrentOrFutureDate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
dateString,
formData,
schema,
errorMessages = {},
Function validateDateRangeAllowSameMonth
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
dateRange,
formData,
schema,
errorMessages,
Function validateCurrentOrPastMonthYear
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
dateString,
formData,
schema,
errorMessages = {},
Function validateCurrentOrPastDate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
dateString,
formData,
schema,
errorMessages = {},
Function validateCurrentOrPastMemorableDate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
dateString,
formData,
schema,
errorMessages = {},
Function validateRoutingNumber
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
routingNumber,
formData,
schema,
errorMessages,
Function validateBooleanGroup
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
userGroup,
form,
schema,
errorMessages = {},
Function addressUiSchema
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
path = 'address',
checkBoxTitle = 'I live on a United States military base outside of the U.S.',
uiRequiredCallback = () => false,
newSchemaKeys = {},
onlyAllowUSAddresses = false,
Function updateSchemaFromUiSchema
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
schema,
uiSchema,
formData,
index = null,
path = [],
Function showReviewField
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
propName,
schema,
uiSchema,
formData,
formContext,
Function createTransaction
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
route,
method,
fieldName,
payload,
analyticsSectionName,
Function uiSchema
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
label = 'Address',
useStreet2 = true,
useStreet3 = false,
isRequired = null,
ignoreRequired = false,
Function validateRoutingNumber
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
errors,
routingNumber,
formData,
schema,
errorMessages,