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

Enforce boolean attributes notation in JSX (react/jsx-boolean-value) #1360

Closed
feross opened this issue Aug 14, 2019 · 2 comments

Comments

@feross
Copy link
Member

commented Aug 14, 2019

https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-boolean-value.md

// ok
var Hello = <Hello personal />

// not ok
var Hello = <Hello personal={true} />

@feross feross added this to the standard 14 milestone Aug 14, 2019

@feross

This comment has been minimized.

Copy link
Member Author

commented Aug 14, 2019

I believe this is uncontroversial, so I'm shipping it standard 14.

@feross feross closed this in d5559b3 Aug 14, 2019

@feross

This comment has been minimized.

Copy link
Member Author

commented Aug 14, 2019

Oops! This was actually already shipped in a previous version of standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.