jjmschofield/github-codeowners

View on GitHub
src/lib/stats/writer.ts

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

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

export const writer = (stats: Stats, options: { output: OUTPUT_FORMAT }, stream: any) => {
  const orderedOwners = [...stats.owners].sort((a, b) => {
    if (a.owner < b.owner) return -1;
    if (a.owner > b.owner) return 1;
    return 0;
Severity: Minor
Found in src/lib/stats/writer.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status