src/helpers/ReportHelper.js
Function colorizeReasonType
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static colorizeReasonType(type: string): string {
const typeLabel = type.padStart(TYPE_P_HASH_REJECT_LOW_RESOLUTION.length);
switch (type) {
// may be result
case TYPE_P_HASH_MAY_BE: