Skip to content

Commit fec5ad1

Browse files
committed
fixup! Integrate eslint react-fc-component-definition
"This block does nothing - we're going to return `false` either way."
1 parent beae433 commit fec5ad1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/eslint-plugin-edge/react-fc-component-definition.mjs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ function isJsxType(node) {
4444
return JSX_RETURN_TYPES.some(t => typeName.endsWith(t))
4545
}
4646

47-
// Handle `null` in union types - not a JSX type itself
48-
if (node.type === 'TSNullKeyword') {
49-
return false
50-
}
51-
5247
return false
5348
}
5449

0 commit comments

Comments
 (0)