Skip to content

Commit

Permalink
fix: eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pac-guerreiro committed Nov 18, 2024
1 parent 0be46ce commit 05c55c2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/libs/DebugUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@ function validateReportDraftProperty(key: keyof Report, value: string) {
case 'parentReportID':
case 'parentReportActionID':
case 'lastVisibleActionLastModified':
case 'displayName':
case 'lastMessageHtml':
case 'currency':
case 'iouReportID':
Expand All @@ -478,7 +477,6 @@ function validateReportDraftProperty(key: keyof Report, value: string) {
case 'hasOutstandingChildRequest':
case 'hasOutstandingChildTask':
case 'isOwnPolicyExpenseChat':
case 'isPolicyExpenseChat':
case 'isPinned':
case 'hasParentAccess':
case 'isDeletedParentAction':
Expand Down Expand Up @@ -525,8 +523,6 @@ function validateReportDraftProperty(key: keyof Report, value: string) {
},
'number',
);
case 'errors':
return validateObject<ObjectElement<Report, 'errors'>>(value, {});
case 'errorFields':
return validateObject<ObjectElement<Report, 'errorFields', string>>(value, {}, 'string');
case 'privateNotes':
Expand Down Expand Up @@ -581,21 +577,18 @@ function validateReportDraftProperty(key: keyof Report, value: string) {
return validateConstantEnum(value, CONST.RED_BRICK_ROAD_PENDING_ACTION);
case 'pendingFields':
return validateObject<ObjectElement<Report, 'pendingFields'>>(value, {
errors: CONST.RED_BRICK_ROAD_PENDING_ACTION,
description: CONST.RED_BRICK_ROAD_PENDING_ACTION,
privateNotes: CONST.RED_BRICK_ROAD_PENDING_ACTION,
currency: CONST.RED_BRICK_ROAD_PENDING_ACTION,
type: CONST.RED_BRICK_ROAD_PENDING_ACTION,
policyID: CONST.RED_BRICK_ROAD_PENDING_ACTION,
reportID: CONST.RED_BRICK_ROAD_PENDING_ACTION,
displayName: CONST.RED_BRICK_ROAD_PENDING_ACTION,
avatarUrl: CONST.RED_BRICK_ROAD_PENDING_ACTION,
avatarFileName: CONST.RED_BRICK_ROAD_PENDING_ACTION,
chatType: CONST.RED_BRICK_ROAD_PENDING_ACTION,
hasOutstandingChildRequest: CONST.RED_BRICK_ROAD_PENDING_ACTION,
hasOutstandingChildTask: CONST.RED_BRICK_ROAD_PENDING_ACTION,
isOwnPolicyExpenseChat: CONST.RED_BRICK_ROAD_PENDING_ACTION,
isPolicyExpenseChat: CONST.RED_BRICK_ROAD_PENDING_ACTION,
isPinned: CONST.RED_BRICK_ROAD_PENDING_ACTION,
lastMessageText: CONST.RED_BRICK_ROAD_PENDING_ACTION,
lastVisibleActionCreated: CONST.RED_BRICK_ROAD_PENDING_ACTION,
Expand Down

0 comments on commit 05c55c2

Please sign in to comment.