MatthiasMargot/redux-communication

View on GitHub

Showing 2 of 9 total issues

Function createCommunicationMiddleware has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const createCommunicationMiddleware = () => store => next => action => {
  next(action)

  if (!isRequestAction(action)) return

    Function createRequest has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const createRequest = (
      namespace,
      request,
      partialActions,
    ) => {
    Severity: Minor
    Found in src/create-request/create-request.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language