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
I have searched the existing issues and my issue is unique
My issue appears in the command-line and not only in the text editor
Description Overview
Per #3493, this has been reported as fixed, but I am still seeing Multiline JSX elements should start in a new line when a comment is above a multiline JSX block.
Is there an existing issue for this?
Description Overview
Per #3493, this has been reported as fixed, but I am still seeing
Multiline JSX elements should start in a new line
when a comment is above a multiline JSX block.config:
"react/jsx-newline": ["warn", { "allowMultilines": true, "prevent": true }],
example of invalid code:
Expected Behavior
Comments above multiline JSX blocks should be ignored if jsx-newline is enabled with config options:
{ "prevent": true, "allowMultilines": true }
I expect this code to pass:
eslint-plugin-react version
v7.32.1
eslint version
v8.28.0
node version
v17.9.0
The text was updated successfully, but these errors were encountered: