### Is there an existing issue for this? - [X] I have searched the existing issues and my issue is unique - [X] My issue appears in the command-line and not only in the text editor ### Description Overview <!--Brief description--> `react/jsx-newline` with `{ "prevent": true }` does not remove empty lines for surrounding tags. <!--Show example of your code (as text format), add images/videos/gifs to help explain example--> <!--and/or Link of repo to where issue is occurring--> Currently `react/jsx-newline` does not detect any lint errors for the following JSX: ``` <div> <span> hi </span> </div> ``` <!--What is happening? / What is the error?--> <!--What command(s) did you run to reproduce issue?--> ### Expected Behavior <!--Brief description--> The current detection feels like unintended behavior, as I would expect all newlines within JSX to be removed as follows: <!--Show example of code (as text format), add images/videos/gifs to help explain expected behavior--> ``` <div> <span> hi </span> </div> ``` If there is a different eslint rule that checks for this please let me know! ### eslint-plugin-react version v7.33.2 ### eslint version v8.55.0 ### node version v18.6.0