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

Non Empty component violating self-closing-comp #3

Closed
BerkeleyTrue opened this issue Feb 8, 2015 · 2 comments
Closed

Non Empty component violating self-closing-comp #3

BerkeleyTrue opened this issue Feb 8, 2015 · 2 comments

Comments

@BerkeleyTrue
Copy link

eslint 0.14
eslint-plugin-react 1.2.1

unless my eyes deceive me, this shouldn't be a problem.
1__tmux
1__tmux

this works
1__tmux

but this doesn't
1__tmux

seems like this rule is checking for white space not true emptiness.
sanity check
1__tmux

@yannickcr
Copy link
Member

Thanks for the report, the rules did not check correctly the node children.

This is fixed in v1.2.2

@BerkeleyTrue
Copy link
Author

Wow! Thanks for the quick response! Update works great.

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

No branches or pull requests

2 participants