client/app/bundles/course/assessment/submission/pages/SubmissionEditIndex/validations/AllValidation.tsx
Function validateBasedOnQuestionType
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const validateBasedOnQuestionType = (
question: SubmissionQuestionData<keyof typeof QuestionType>,
attachments: Attachment[],
): ErrorStruct => {
const errors: ErrorType[] = [];
- Create a ticketCreate a ticket