dmarchena/generator-postcss-plugin

View on GitHub

Showing 3 of 7 total issues

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

  prompting() {
    // Have Yeoman greet the user.
    this.log(yosay(
      'Welcome to the legendary ' + chalk.red('generator-postcss-plugin') + ' generator!'
    ));
Severity: Minor
Found in src/generators/app/index.js - About 1 hr to fix

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

      writing() {
        // License file
        const config = this.config.getAll();
        const licenseFile = config.license + '.txt';
        const noticeFile = config.license + '.notice.txt';
    Severity: Minor
    Found in src/generators/license/index.js - About 1 hr to fix

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

        prompting() {
          const prompts = [
            {
              type: 'list',
              name: 'license',
      Severity: Minor
      Found in src/generators/license/index.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language