code: function requireWhitespaceBefore(node) {
              const prevToken = sourceCode.getTokenBefore(node);
  
              if (node.range[0] - prevToken.range[1] > 0) {
                  return false;
              }
  
              return prevToken.type === "Identifier";
          }
docs: Check if whitespace is needed before this node
  @param {ASTNode} node the node to be evaluated.
  @returns {boolean} true of false