Closed
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" />