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 a6cfa34 commit 09b7dc3Copy full SHA for 09b7dc3
packages/plugins/eslint-plugin-react-x/src/rules/no-useless-fragment.ts
@@ -109,8 +109,6 @@ function checkNode(
109
node: TSESTree.JSXElement | TSESTree.JSXFragment,
110
allowExpressions: boolean,
111
) {
112
- // const initialScope = context.sourceCode.getScope(node);
113
-
114
// Skip if the fragment has a key prop (indicates it's needed for lists)
115
if (node.type === T.JSXElement && getJsxAttribute(context, node)("key") != null) {
116
return;
0 commit comments