mediv0/vue-input-validator

View on GitHub
src/helpers.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

export const setPrototype = (Vue: VueConstructor): void => {
    const bus = new Bus();
    const prototypeMethods: IvalidatorPrototypeDefinition = {
        isValid(key: string): boolean {
            return bus.request("validationStatus", key);
Severity: Minor
Found in src/helpers.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status