tacnoman/create-ecma-app

View on GitHub

Showing 2 of 2 total issues

Function install has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  install() {
    const packageLib = shouldUseYarn() ? 'yarn' : 'npm';
    this.log(chalk.blue.bold(`❯  Calling ${packageLib} install...`));
    this.spawnCommandSync(
      packageLib,
Severity: Minor
Found in src/index.js - About 1 hr to fix

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

      prompting() {
        this.log(
          `Salutations from ${chalk.red('create-ecma-app')} generator by Tacnoman`,
        );
    
    
    Severity: Minor
    Found in src/index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language