Skip to content

react/jsx-boolean-value Style

🛠️ An auto-fix is available for this rule.

What it does

Enforce a consistent boolean attribute style in your code.

Example

jsx
const Hello = <Hello personal={true} />;

References

Released under the MIT License.