lib/validator.js
function getOptions (userOptions = {}) {
	let options = _.cloneDeep(userOptions);

	if (options.format === 'html') {
		options.outputAsHtml = true;
		options.verbose = true;
		options.format = 'json';
	}

	return options;
}
function getOptions (userOptions = {}) {
	let options = _.cloneDeep(userOptions);

	if (options.format === 'html') {
		options.outputAsHtml = true;
		options.verbose = true;
		options.format = 'json';
	}

	return options;
}
function getOptions ( userOptions = { } ) { let options = _ . cloneDeep ( userOptions ) ; if ( options . format === 'html' ) { options . outputAsHtml = true ; options . verbose = true ; options . format = 'json' ; } return options ; }
Get run options from user settled options
@param {Object} [userOptions={}]
@returns {Object}
@private
@sourceCode
Get run options from user settled options