jbalboni/super-res

View on GitHub
src/create-requestor.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createRequestor has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function createRequestor(url, defaultParamConfig, action) {
  const config = assign({url: url}, actionDefaults, action);
  const route = new Route(config.url);
  const {derivedParams, defaultParams} = getParameters(defaultParamConfig || {});
  const transformResponse = createResponseTransformer(config.transformResponse);
Severity: Minor
Found in src/create-requestor.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status