trailsjs/generator-node

View on GitHub
generators/gulp/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function package has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    package: function () {
      var pkg = this.fs.readJSON(this.destinationPath(this.options.generateInto, 'package.json'), {});

      extend(pkg, {
        devDependencies: {
Severity: Minor
Found in generators/gulp/index.js - About 1 hr to fix

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

      constructor: function () {
        generators.Base.apply(this, arguments);
    
        this.option('generateInto', {
          type: String,
    Severity: Minor
    Found in generators/gulp/index.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status