src/frontend/packages/cf-autoscaler/src/features/edit-autoscaler-policy/edit-autoscaler-policy-step4/edit-autoscaler-policy-step4.component.ts
File edit-autoscaler-policy-step4.component.ts
has 264 lines of code (exceeds 250 allowed). Consider refactoring. Wontfix
Wontfix
import { Component, OnInit } from '@angular/core';
import { AbstractControl, FormBuilder, FormGroup, ValidatorFn, Validators } from '@angular/forms';
import { ErrorStateMatcher, ShowOnDirtyErrorStateMatcher } from '@angular/material/core';
import { ActivatedRoute } from '@angular/router';
import { Store } from '@ngrx/store';
Function validateSpecificDateStartDateTime
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
validateSpecificDateStartDateTime(): ValidatorFn {
return (control: AbstractControl): { [key: string]: any, } => {
if (!this.editSpecificDateForm) {
return null;
}
Function validateSpecificDateEndDateTime
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
validateSpecificDateEndDateTime(): ValidatorFn {
return (control: AbstractControl): { [key: string]: any, } => {
if (!this.editSpecificDateForm) {
return null;
}