json-schema-everywhere/pajv

View on GitHub
commands/options.js

Summary

Maintainability
A
1 hr
Test Coverage

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

function checkOptions(schema, argv) {
    schema.definitions = DEFINITIONS;
    if (schema._ajvOptions !== false) {
        for (var opt in AJV_OPTIONS) {
            var optSchema = AJV_OPTIONS[opt];
Severity: Minor
Found in commands/options.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status