-
- Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
On our team when setting props to true, we prefer leaving out the ={true}. It would be nice to have a rule that enforces this (and I suppose one that can enforce the opposite.
Good:
<MyComponent myBooleanProp anotherProp="value" />Bad:
<MyComponent myBooleanProp={true} anotherProp="value" />