vgno/redux-fetcher

View on GitHub

Showing 2 of 14 total issues

File index.js has 294 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import chai from 'chai';
import sinonChai from 'sinon-chai';
chai.should();
chai.use(sinonChai);

Severity: Minor
Found in test/index.js - About 3 hrs to fix

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

    export function createFetchAction(id, url, options = {}, meta = {}) {
        if (!id || !url) {
            throw new Error('Must provide action identifier and url');
        }
    
    
    Severity: Minor
    Found in src/index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language