mAAdhaTTah/brookjs

View on GitHub
packages/brookjs-cli/src/prettier/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function format has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const format = (
  path: string,
  buffer?: Buffer,
): Observable<FormatResult, FormatError> => {
  const buffer$: Observable<Buffer, NodeJS.ErrnoException> = buffer
Severity: Minor
Found in packages/brookjs-cli/src/prettier/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status