exadel-inc/esl

View on GitHub
packages/snapshot-tests/src/reporters/printers.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function printFiles has a Cognitive Complexity of 17 (exceeds 10 allowed). Consider refactoring.
Open

function printFiles(fileStat, basePath) {
let text = '';
for (const file of fileStat) {
text += `### ${file.filepath}\n`;
text += `<table>\n`;
Severity: Minor
Found in packages/snapshot-tests/src/reporters/printers.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status