kasperisager/generator-vanilla

View on GitHub

Showing 4 of 8 total issues

Function askForAddon has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  askForAddon: function () {
    var next = this.async()
      , prompts = [{
        type: 'list'
      , name: 'type'
Severity: Major
Found in app/index.js - About 2 hrs to fix

    Function getAddon has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    exports.getAddon = function (base, type, callback) {
      var file;
    
      switch (type) {
      case 'Application':
    Severity: Minor
    Found in lib/utils.js - About 1 hr to fix

      Function files has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        files: function () {
          var self  = this
            , today = new Date();
      
          this.year      = today.getFullYear();
      Severity: Minor
      Found in app/index.js - About 1 hr to fix

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

          files: function () {
            var next = this.async();
        
            this.template('_package.json', 'package.json');
            this.template('_bower.json', 'bower.json');
        Severity: Minor
        Found in assets/index.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language