fkanout/koa-validator

View on GitHub

Showing 1 of 8 total issues

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

const alternativeValidation = async (alternate, schema, values, config) => {
  let errorMsg = "";
  let _original = {};
  let details = [];

Severity: Minor
Found in src/index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language