ajeetchaulagain/react-clean-code-pattern

View on GitHub
src/reducers/request.js

Summary

Maintainability
A
1 hr
Test Coverage

Function requestReducer has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const requestReducer = (state, action) => {
  switch (action.type) {
    case GET_ALL_SUCCESS:
      return {
        ...state,
Severity: Minor
Found in src/reducers/request.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status