webpack/webpack-cli

View on GitHub
packages/generators/src/handlers/react.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function generate has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function generate(self: CustomGenerator): void {
  const files = ["./index.html", "./src/assets/webpack.png", "webpack.config.js", "package.json"];

  switch (self.answers.langType) {
    case "Typescript":
Severity: Minor
Found in packages/generators/src/handlers/react.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status