Skip to content
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

New Rule: jsx-alignment #7

Closed
adidahiya opened this issue Jun 16, 2016 · 3 comments
Closed

New Rule: jsx-alignment #7

adidahiya opened this issue Jun 16, 2016 · 3 comments

Comments

@adidahiya
Copy link
Contributor

Enforce this alignment when tags span multiple lines:

<input
    type="search"
    placeholder="Search..."
/>
@jkillian
Copy link
Contributor

I'll implement this one!

@jkillian
Copy link
Contributor

Maybe it should be called jsx-multiline-format?

@adidahiya
Copy link
Contributor Author

I like "align" because it matches up somewhat with the core align rule. I think "align" also implies multiline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants