code: function addNullElementsToIgnoreList(node) {
              let previousToken = sourceCode.getFirstToken(node);
  
              node.elements.forEach(element => {
                  let token;
  
                  if (element === null) {
                      token = sourceCode.getTokenAfter(previousToken);
  
                      if (astUtils.isCommaToken(token)) {
                          commaTokensToIgnore.push(token);
                      }
                  } else {
                      token = sourceCode.getTokenAfter(element);
                  }
  
                  previousToken = token;
              });
          }
docs: Adds null elements of the given ArrayExpression or ArrayPattern node to the ignore list.
  @param {ASTNode} node An ArrayExpression or ArrayPattern node.
  @returns {void}