And he should have blocked Barrett under the same "rule"
In 2016, after Justice Antonin Scalia’s death, President Barack Obama nominated Merrick Garland, a federal judge considered a moderate, to fill the vacancy. At the time, Senate Republicans held a 54–46 majority, and Mitch McConnell, then Senate Majority Leader, refused to hold hearings or vote on Garland’s nomination
McConnell publicly said the decision was to defer the Supreme Court vacancy to the next president, citing the upcoming 2016 election Newsweek. He argued that the Senate should not act during an election year, framing it as a matter of political timing rather than a constitutional issue.
On March 16, 2016, President Barack Obama nominated Merrick Garland (Election 33 weeks away)
President Donald Trump nominated Amy Coney Barrett to the Supreme Court on September 26, 2020 (Election 5 weeks away)