function checkGroup(nodes){var nodesToReport=nodes.filter(Boolean);if(nodes.length&&(checkingMixedDestructuring||nodesToReport.length===nodes.length)){var varDeclParent=findUp(nodes[0],"VariableDeclaration",function(parentNode){return parentNode.type.endsWith("Statement");});var shouldFix=varDeclParent&&// If there are multiple variable declarations, like {let a = 1, b = 2}, then
// do not attempt to fix if one of the declarations should be `const`. It's
// too hard to know how the developer would want to automatically resolve the issue.
varDeclParent.declarations.length===1&&(// Don't do a fix unless the variable is initialized (or it's in a for-in or for-of loop)
varDeclParent.parent.type==="ForInStatement"||varDeclParent.parent.type==="ForOfStatement"||varDeclParent.declarations[0].init)&&// If options.destucturing is "all", then this warning will not occur unless
// every assignment in the destructuring should be const. In that case, it's safe
// to apply the fix.
nodesToReport.length===nodes.length;nodesToReport.forEach(function(node){context.report({node:node,message:"'{{name}}' is never reassigned. Use 'const' instead.",data:node,fix:shouldFix?function(fixer){return fixer.replaceText(sourceCode.getFirstToken(varDeclParent),"const");}:null});});}}
Reports given identifier nodes if all of the nodes should be declared
as const.

The argument 'nodes' is an array of Identifier nodes.
This node is the result of 'getIdentifierIfShouldBeConst()', so it's
nullable. In simple declaration or assignment cases, the length of
the array is 1. In destructuring cases, the length of the array can
be 2 or more.

@param {(escope.Reference|null)[]} nodes -
     References which are grouped by destructuring to report.
@returns {void}