ajwhite/gulp-ng-config

View on GitHub

Showing 5 of 5 total issues

Function gulpNgConfig has 127 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function gulpNgConfig (moduleName, configuration) {
  var stream, defaults;
  defaults = {
    type: 'constant',
    createModule: true,
Severity: Major
Found in gulp-ng-config.js - About 5 hrs to fix

    Avoid too many return statements within this function.
    Open

            return callback();
    Severity: Major
    Found in gulp-ng-config.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return callback();
      Severity: Major
      Found in gulp-ng-config.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return callback();
        Severity: Major
        Found in gulp-ng-config.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                return callback();
          Severity: Major
          Found in gulp-ng-config.js - About 30 mins to fix
            Severity
            Category
            Status
            Source
            Language