code: function checkForSemicolonForVariableDeclaration(node) {
              const parent = node.parent;
  
              if ((parent.type !== "ForStatement" || parent.init !== node) &&
                  (!/^For(?:In|Of)Statement/u.test(parent.type) || parent.left !== node)
              ) {
                  checkForSemicolon(node);
              }
          }
docs: Checks to see if there's a semicolon after a variable declaration.
  @param {ASTNode} node The node to check.
  @returns {void}