code: function reportError(node, parentNode, expected) {
              context.report({
                  node,
                  messageId: `${expected ? "expected" : "unexpected"}${node === parentNode.test ? "TestCons" : "ConsAlt"}`
              });
          }
docs: -------------------------------------------------------------------------- Helpers -------------------------------------------------------------------------- 
  Tests whether node is preceded by supplied tokens
  @param {ASTNode} node - node to check
  @param {ASTNode} parentNode - parent of node to report
  @param {boolean} expected - whether newline was expected or not
  @returns {void}
  @private