code: function removeInvalidNodeErrorsInIdentifierOrLiteral(node) {
              const shouldCheckStrings = skipStrings && (typeof node.value === "string");
              const shouldCheckRegExps = skipRegExps && Boolean(node.regex);
  
              if (shouldCheckStrings || shouldCheckRegExps) {
  
                  // If we have irregular characters remove them from the errors list
                  if (ALL_IRREGULARS.test(node.raw)) {
                      removeWhitespaceError(node);
                  }
              }
          }
docs: Checks identifier or 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