commands/options.js
Function checkOptions
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkOptions(schema, argv) {
schema.definitions = DEFINITIONS;
if (schema._ajvOptions !== false) {
for (var opt in AJV_OPTIONS) {
var optSchema = AJV_OPTIONS[opt];