-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
I seem to be having trouble getting this rule to work. The documentation references the following interface:
"react/jsx-sort-props": [<enabled>, {
"callbacksLast": <boolean>,
"shorthandFirst": <boolean>,
"shorthandLast": <boolean>,
"ignoreCase": <boolean>,
"noSortAlphabetically": <boolean>,
"reservedFirst": <boolean>|<array<string>>,
}]
My current configuration is "react/jsx-sort-props": [2]. I have omitted the options which seem to work fine for other rules in the library. Don't get any errors for the following component:
<Component c="c" b="b" a="a" />