open-learning-exchange/planet

View on GitHub
src/app/validators/custom-validators.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  static endDateValidator(): ValidatorFn {
    let startDate: AbstractControl;
    let endDate: AbstractControl;

    // for unsubscribing from Observables
Severity: Minor
Found in src/app/validators/custom-validators.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status