code: function report(node) {
              const message = node.parent.type === "BlockStatement" ? "Nested block is redundant." : "Block is redundant.";
  
              context.report({ node, message });
          }
docs: Reports a node as invalid.
  @param {ASTNode} node - The node to be reported.
  @returns {void}