CRBT-Team/Purplet

View on GitHub
packages/create-purplet/src/options/prettier.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function prettierConfig has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function prettierConfig(config: ProjectConfig) {
  if (config.lang !== 'js') {
    // This config is based off of prettier-config-dave
    return {
      arrowParens: 'avoid',
Severity: Minor
Found in packages/create-purplet/src/options/prettier.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status