Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 587 Bytes

File metadata and controls

21 lines (13 loc) · 587 Bytes

jsx-sort-props-with-comments-no-autofix

Describe the bug

Autofix does not work if there is a comment between props for rule @stylistic/jsx-sort-props.

CleanShot 2024-09-27 at 01 22 13

Reproduction

git clone https://github.com/rakleed/jsx-sort-props-with-comments-no-autofix
cd jsx-sort-props-with-comments-no-autofix
npm run install
npm run lint:fix

Issue

eslint-stylistic/eslint-stylistic#549