sondr3/generator-jekyllized

View on GitHub

Showing 4 of 10 total issues

Function default has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  default: function () {
    this.composeWith('statisk:editorconfig', {}, {
      local: require.resolve('generator-statisk/generators/editorconfig')
    });

Severity: Major
Found in generators/app/index.js - About 2 hrs to fix

    Function prompting has 55 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      prompting: function () {
        var questions = [{
          name: 'projectName',
          message: 'What is the name of your project?',
          store: true
    Severity: Major
    Found in generators/app/index.js - About 2 hrs to fix

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

        constructor: function () {
          generators.Base.apply(this, arguments);
      
          this.option('projectName', {
            type: String,
      Severity: Major
      Found in generators/jekyll/index.js - About 2 hrs to fix

        Function writing has 36 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          writing: function () {
            this.fs.copy(
              this.templatePath('Gemfile'),
              this.destinationPath('Gemfile')
            );
        Severity: Minor
        Found in generators/jekyll/index.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language