code: function checkForSemicolon(node) {
              const isSemi = astUtils.isSemicolonToken(sourceCode.getLastToken(node));
  
              if (never) {
                  if (isSemi && canRemoveSemicolon(node)) {
                      report(node, true);
                  } else if (!isSemi && beforeStatementContinuationChars === "always" && maybeAsiHazardBefore(sourceCode.getTokenAfter(node))) {
                      report(node);
                  }
              } else {
                  const oneLinerBlock = (exceptOneLine && isOneLinerBlock(node));
  
                  if (isSemi && oneLinerBlock) {
                      report(node, true);
                  } else if (!isSemi && !oneLinerBlock) {
                      report(node);
                  }
              }
          }
docs: Checks a node to see if it's followed by a semicolon.
  @param {ASTNode} node The node to check.
  @returns {void}