src/extension.js
/**
 * Create and register the hover object
 * @param {Object} val Validation results
 */
Create and register the hover object
@param {Object} val Validation results
Create and register the hover object @param { Object } val Validation results
function createInfo(val) {
	let message = ''
	if (val.info) {
		message = 'Valid'
	} else {
		message = `${val.message}`
	}
	return message
}
function createInfo ( val ) { let message = '' if ( val . info ) { message = 'Valid' } else { message = ` ${ val . message } ` } return message }
Create and register the hover object
 @param {Object} val Validation results
Create and register the hover object @param { Object } val Validation results