Showing 4 of 10 total issues
Function default
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
default: function () {
this.composeWith('statisk:editorconfig', {}, {
local: require.resolve('generator-statisk/generators/editorconfig')
});
Function prompting
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
prompting: function () {
var questions = [{
name: 'projectName',
message: 'What is the name of your project?',
store: true
Function constructor
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor: function () {
generators.Base.apply(this, arguments);
this.option('projectName', {
type: String,
Function writing
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
writing: function () {
this.fs.copy(
this.templatePath('Gemfile'),
this.destinationPath('Gemfile')
);