We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shorthandFirst and shorthandLast not working
'react/jsx-sort-props': [ 2, { callbacksLast: true, shorthandFirst: false, shorthandLast: true, noSortAlphabetically: true, }, ],
i want to sort this
<OstiganTable addBtnText={t('addFaq')} addNavigationLink="faq/add" afterDeleteHandler={afterDeleteHandler} bodyInfo={bodyInfo} editNavigationLink="faq" headInfo={headInfo} isFetching={isFetching} isLoading={isLoading} pageCount={pageCount} tableStyle="admin" urlDeleteRequest={`admin${FAQ_URL}`} page={page} onChangePage={onChangePage} onErrorDelete={onErrorDelete} />
to
<OstiganTable page={page} tableStyle="admin" bodyInfo={bodyInfo} headInfo={headInfo} isLoading={isLoading} pageCount={pageCount} isFetching={isFetching} addBtnText={t('addFaq')} editNavigationLink="faq" addNavigationLink="faq/add" onChangePage={onChangePage} onErrorDelete={onErrorDelete} urlDeleteRequest={`admin${FAQ_URL}`} afterDeleteHandler={afterDeleteHandler} />
callbacksLast works but not shorthandFirst or shorthandLast
7.33.2
8.48.0
20.8.1
The text was updated successfully, but these errors were encountered:
I'm not even seeing any warnings on the code, let alone an autofix. Also, your code doesn't seem to have any shorthand props.
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Description Overview
shorthandFirst and shorthandLast not working
'react/jsx-sort-props': [
2,
{
callbacksLast: true,
shorthandFirst: false,
shorthandLast: true,
noSortAlphabetically: true,
},
],
Expected Behavior
i want to sort this
to
callbacksLast works but not shorthandFirst or shorthandLast
eslint-plugin-react version
7.33.2
eslint version
8.48.0
node version
20.8.1
The text was updated successfully, but these errors were encountered: