tacnoman/create-ecma-app

View on GitHub
src/index.js

Summary

Maintainability
A
3 hrs
Test Coverage

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

      There are no issues that match your filters.

      Category
      Status