Skip to content
New issue

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

Sort exports #55

Merged
merged 15 commits into from Nov 15, 2020
Merged

Sort exports #55

merged 15 commits into from Nov 15, 2020

Conversation

lydell
Copy link
Owner

@lydell lydell commented Nov 14, 2020

Closes #21.
Supersedes #53.

  • Chunks of imports and chunks of re-exports are sorted separately.
  • Other types of exports than export ... from are not touched in any way.
  • Specifiers of export {a, b, c} are still sorted though.
  • Re-exports are grouped manually using comments.
  • Sorting exports is a separate rule since it does not use the groups option.

@lydell lydell mentioned this pull request Nov 14, 2020
@lydell lydell changed the title Sort exports, attempt 3 Sort exports Nov 15, 2020
@lydell lydell merged commit 3d795d5 into main Nov 15, 2020
@lydell lydell deleted the exports3 branch November 15, 2020 20:26
@lydell lydell mentioned this pull request Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle re-exports
1 participant