You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why should this rule be included?
It would help improve the readability or medium to long property list, making the overall list of props in a component easier to reason about.
The text was updated successfully, but these errors were encountered:
Please describe what the rule should do:
This rule should enforce sorting of component props. I would propose that you could set it to sort:
Ideally this rule would be an auto-fixing rule, so the individual developer wouldn't necessarily need to worry about manually ordering their props.
What category of rule is this? (place an "X" next to just one item)
[X] Enforces code style
[ ] Warns about a potential error
[ ] Suggests an alternate way of doing something
[ ] Other (please specify:)
Provide 2-3 code examples that this rule will warn about:
Sort props alphabetically, Ascending:
Sort props alphabetically, descending:
Sort props alphabetically, ascending, required first:
Sort props alphabetically, descending, required first:
Sort props alphabetically, ascending, required last:
Sort props alphabetically, descending, required first:
Why should this rule be included?
It would help improve the readability or medium to long property list, making the overall list of props in a component easier to reason about.
The text was updated successfully, but these errors were encountered: