Please describe what the rule should do:
In a prop definition with multiple allowed types, the rule suggests to put Boolean first to allow shorthand boolean props (see #775, #1781, #1796).
What category should the rule belong to?
[ ] Enforces code style (layout)
[x] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
Please describe what the rule should do:
In a prop definition with multiple allowed types, the rule suggests to put
Boolean
first to allow shorthand boolean props (see #775, #1781, #1796).What category should the rule belong to?
[ ] Enforces code style (layout)
[x] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
The text was updated successfully, but these errors were encountered: