CRBT-Team/Purplet

View on GitHub
packages/create-purplet/src/writeAll.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function writeAll has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function writeAll(config: ProjectConfig, templatesRoot: string) {
  const { eslint, prettier, root, template } = config;

  const require = createRequire(import.meta.url);

Severity: Major
Found in packages/create-purplet/src/writeAll.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status