lib/rules/no-irregular-whitespace.js
function removeInvalidNodeErrorsInTemplateLiteral(node) {
            if (typeof node.value.raw === "string") {
                if (ALL_IRREGULARS.test(node.value.raw)) {
                    removeWhitespaceError(node);
                }
            }
        }
function removeInvalidNodeErrorsInTemplateLiteral(node) {
            if (typeof node.value.raw === "string") {
                if (ALL_IRREGULARS.test(node.value.raw)) {
                    removeWhitespaceError(node);
                }
            }
        }
function removeInvalidNodeErrorsInTemplateLiteral ( node ) { if ( typeof node . value . raw === "string" ) { if ( ALL_IRREGULARS . test ( node . value . raw ) ) { removeWhitespaceError ( node ) ; } } }
Checks template string literal nodes for errors that we are choosing to ignore and calls the relevant methods to remove the errors
@param {ASTNode} node to check for matching errors.
@returns {void}
@private
Checks template string literal nodes for errors that we are choosing to ignore and calls the relevant methods to remove the errors