-
-
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
jsx-max-props-per-line: different value for oneline tags and multiline tags #410
Comments
I would also be interested in this |
this seems totally reasonable - i also require either all props + component on one line, or, never more than one thing on the same line. |
+1 I'd like to see this, too |
I've probably missed something, but I'm still not sure how to enforce this. |
+1 IMO this is a very reasonable rule to have, any multiline props with more than 1 is not scannable Would like to see a combination of {maximum: 3, when: 'not-multiline'} and {maximum: 1, when: 'multiline'} |
Hi, I write JSX like this.
Currently it is not possible to set jsx-max-props-per-line differently for multiline tags.
The text was updated successfully, but these errors were encountered: