refactor: apply eslint

This commit is contained in:
sbplat
2024-01-04 20:17:54 -05:00
parent 5fd505d4f4
commit 9c1588d150
53 changed files with 647 additions and 636 deletions

View File

@@ -17,7 +17,7 @@ export function validateOperations(actions: Action[]): { valid: boolean, reason?
const operator = getOperatorByName(action.type);
if(!operator) {
return { valid: false, reason: `action.type ${action.type} does not exist` }
return { valid: false, reason: `action.type ${action.type} does not exist` };
}
const validationResult = operator.schema.validate({values: action.values});
@@ -44,7 +44,7 @@ export function validateOperations(actions: Action[]): { valid: boolean, reason?
}
}
else if (action.type === "done") {
return { valid: false, reason: `There shouldn't be a done action here.` };
return { valid: false, reason: "There shouldn't be a done action here." };
}
else {
const receivingOperator = getOperatorByName(childAction.type);