lib/runner.js
function runHtmlCodeSniffer() {
			return new Promise((resolve, reject) => {
				window.HTMLCS.process(options.standard, window.document, error => {
					if (error) {
						return reject(error);
					}
					resolve(window.HTMLCS.getMessages());
				});
			});
		}
function runHtmlCodeSniffer() {
			return new Promise((resolve, reject) => {
				window.HTMLCS.process(options.standard, window.document, error => {
					if (error) {
						return reject(error);
					}
					resolve(window.HTMLCS.getMessages());
				});
			});
		}
function runHtmlCodeSniffer ( ) { return new Promise ( ( resolve , reject ) => { window . HTMLCS . process ( options . standard , window . document , error => { if ( error ) { return reject ( error ) ; } resolve ( window . HTMLCS . getMessages ( ) ) ; } ) ; } ) ; }
Run HTML CodeSniffer on the current page.
@private
@returns {Promise} Returns a promise which resolves with HTML CodeSniffer issues.
Run HTML CodeSniffer on the current page .