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
When array elements of object keys have jsdoc (or comments) they stay at the old position. Example:
// @sort [ "c", /** * Comment */ "b", ];
...gets reordered to
// @sort [ "b", /** * Comment */ "c", ];
Same for object keys:
// @sort-keys const x = { /** * Comment */ b: 2, a: 1, }
gets reordered to
// @sort-keys const x = { /** * Comment */ a: 1, b: 2, }
The expected outcome would be to move jsdocs (and ideally non-jsdoc comments) with the value/key.
The text was updated successfully, but these errors were encountered:
Reorder comments and jsdoc
9fa21f6
Fixes ronparkdev#8
8a63bc1
Successfully merging a pull request may close this issue.
When array elements of object keys have jsdoc (or comments) they stay at the old position. Example:
...gets reordered to
Same for object keys:
gets reordered to
The expected outcome would be to move jsdocs (and ideally non-jsdoc comments) with the value/key.
The text was updated successfully, but these errors were encountered: