code: function globalVarCheck(node, parent) {
              if (!isVarOnTop(node, parent.body)) {
                  context.report({ node, messageId: "top" });
              }
          }
docs: Checks whether variable is on top at the global level
  @param {ASTNode} node - The node to check
  @param {ASTNode} parent - Parent of the node
  @returns {void}