We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b0efc commit e402d60Copy full SHA for e402d60
lib/rules/jsx-key.js
@@ -187,10 +187,10 @@ module.exports = {
187
let isWithinChildrenToArray = false;
188
189
/**
190
- * Checks if the given node is a push call expression that has JSX Elements or JSX Fragments as arguments,
191
- * and the JSX is missing a key prop
192
- * @param {ASTNode} node
193
- */
+ * Checks if the given node is a push call expression that has JSX Elements or JSX Fragments as arguments,
+ * and the JSX is missing a key prop
+ * @param {ASTNode} node
+ */
194
function checkArrayPushArguments(node) {
195
if (isWithinChildrenToArray) {
196
return;
0 commit comments