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
@@ -57,6 +58,14 @@ When `true`, short hand props must be listed before all other props, but still r
57
58
<Hello active validate name="John" tel={5555555} />
58
59
```
59
60
61
+
### `shorthandLast`
62
+
63
+
When `true`, short hand props must be listed after all other props (unless `callbacksLast` is set), but still respecting the alphabetical order:
64
+
65
+
```js
66
+
<Hello name="John" tel={5555555} active validate />
67
+
```
68
+
60
69
## When not to use
61
70
62
71
This rule is a formatting preference and not following it won't negatively affect the quality of your code. If alphabetizing props isn't a part of your coding standards, then you can leave this rule off.
0 commit comments