You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Rule name
useComponentExportOnlyModules
### Playground link
https://biomejs.dev/playground/?lintRules=all&code=aQBtAHAAbwByAHQAIAAqACAAYQBzACAAUgBhAGQAaQB4AEEAYwBjAG8AcgBkAGkAbwBuACAAZgByAG8AbQAgACcAQAByAGEAZABpAHgALQB1AGkALwByAGUAYQBjAHQALQBhAGMAYwBvAHIAZABpAG8AbgAnAAoAaQBtAHAAbwByAHQAIAB7ACAAZgBvAHIAdwBhAHIAZABSAGUAZgAgAH0AIABmAHIAbwBtACAAJwByAGUAYQBjAHQAJwAKAAoAZQB4AHAAbwByAHQAIABjAG8AbgBzAHQAIABDAG8AbgB0AGUAbgB0ACAAPQAgAGYAbwByAHcAYQByAGQAUgBlAGYAPAAKACAAIABIAFQATQBMAEQAaQB2AEUAbABlAG0AZQBuAHQALAAKACAAIABSAGEAZABpAHgAQQBjAGMAbwByAGQAaQBvAG4ALgBBAGMAYwBvAHIAZABpAG8AbgBDAG8AbgB0AGUAbgB0AFAAcgBvAHAAcwAgACYAIABBAGMAYwBvAHIAZABpAG8AbgBDAG8AbgB0AGUAbgB0AFAAcgBvAHAAcwAKAD4AKAAoAHsAIABjAGgAaQBsAGQAcgBlAG4ALAAgAGMAbABhAHMAcwBOAGEAbQBlACwAIAAuAC4ALgBwAHIAbwBwAHMAIAB9ACwAIABmAG8AcgB3AGEAcgBkAGUAZABSAGUAZgApACAAPQA+ACAAewAKACAAIAByAGUAdAB1AHIAbgAgACgACgAgACAAIAAgADwAUgBhAGQAaQB4AEEAYwBjAG8AcgBkAGkAbwBuAC4AQQBjAGMAbwByAGQAaQBvAG4AQwBvAG4AdABlAG4AdAAKACAAIAAgACAAIAAgAHsALgAuAC4AcAByAG8AcABzAH0ACgAgACAAIAAgACAAIABjAGwAYQBzAHMATgBhAG0AZQA9AHsAYwBuACgAJwBtAHQALQAyACcALAAgAGMAbABhAHMAcwBOAGEAbQBlACkAfQAKACAAIAAgACAAIAAgAHIAZQBmAD0AewBmAG8AcgB3AGEAcgBkAGUAZABSAGUAZgB9AAoAIAAgACAAIAA+AAoAIAAgACAAIAAgACAAewBjAGgAaQBsAGQAcgBlAG4AfQAKACAAIAAgACAAPAAvAFIAYQBkAGkAeABBAGMAYwBvAHIAZABpAG8AbgAuAEEAYwBjAG8AcgBkAGkAbwBuAEMAbwBuAHQAZQBuAHQAPgAKACAAIAApAAoAfQApAA%3D%3D
### Expected result
`useComponentExportOnlyModules` should allow components wrapped with `forwardRef` or `memo` or `React.forwardRef` or `React.memo`
### Code of Conduct
- [X] I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
The provided Playground was incomplete, but I was able to reproduce it in a simplified form here. Upon checking, it seems that passing a function directly as an argument causes an error.
Environment information
The text was updated successfully, but these errors were encountered: