client/app/bundles/course/assessment/question/scribing/store.ts
Function reducer
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const reducer = produce((state, action) => {
const { type } = action;
switch (type) {
case actionTypes.FETCH_SKILLS_REQUEST:
- Create a ticketCreate a ticket
Avoid too many return
statements within this function. Open
Open
return state;
- Create a ticketCreate a ticket