victorpopkov/universal-redux

View on GitHub

Showing 3 of 21 total issues

Function constructor has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  constructor(req) {
    const cookies = (req && req.universalCookies) || new Cookies();

    ApiClient.methods.forEach(
      // eslint-disable-next-line no-return-assign
Severity: Major
Found in src/helpers/ApiClient.js - About 2 hrs to fix

    Function exports has 47 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = (api) => {
      api.cache(true);
      api.assertVersion('^7.4.5');
    
      const presets = [
    Severity: Minor
    Found in babel.config.js - About 1 hr to fix

      Function componentDidMount has 45 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        componentDidMount() {
          this.latestDevRevision = null;
          this.latestDevVersion = null;
          this.latestStableRevision = null;
          this.latestStableVersion = null;
      Severity: Minor
      Found in src/app/App.jsx - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language