epoberezkin/ajv

View on GitHub
lib/vocabularies/jtd/discriminator.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  code(cxt: KeywordCxt) {
    checkMetadata(cxt)
    const {gen, data, schema, parentSchema} = cxt
    const [valid, cond] = checkNullableObject(cxt, data)

Severity: Minor
Found in lib/vocabularies/jtd/discriminator.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status