-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'react/jsx-wrap-multilines' behaves strange #1469
Comments
Nope. Both of your examples are allowed, but the docs only mention the first one, since it's generally preferred (and more readable) than the second. |
How can I enforce the first format? |
It sounds like we'd need another possible value for the three syntaxes: instead of |
That will be a good feature for this rule. |
@ljharb It looks like these options are supported in master now, but in v7.4.0, I get errors. This is my rule:
Which gives me the error:
If I remove the rules for
Are the changes to this rule in v7.4.0? Or are they slated for a future release? |
Slated for a future release. |
Are there plans to make a release in near future? This rule is important. |
Also, I'd like to specify default behavior:
or
And this rule is very importnat i hope it is updated soon. |
I believe this has been released. |
@ljharb can't find it in NPM (last release 2 month ago) |
Can someone restate, in the latest version, exactly what’s not working as desired here? (Not about changing the defaults, just about an impossible configuration that you need) |
If I use the
And
|
That sounds like something worth doing. |
@mqklin i prefer the first one, so if you could file a new issue, with config, input, and expected output, we can get it done. |
The rule tells me that this is good:
but this is also accepted:
Did I miss something?
The text was updated successfully, but these errors were encountered: