Skip to content

prettier: add organize imports plugin #9666

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

Merged
merged 3 commits into from
Jul 1, 2025
Merged

Conversation

sluongng
Copy link
Contributor

This commit introduces and runs the 'prettier-plugin-organize-imports'
across the entire codebase. This ensures a consistent and predictable
ordering of imports in TypeScript and TSX files, improving code
readability and reducing merge conflicts related to import order.

./buildfix.sh should help apply all the fixes.

https://www.npmjs.com/package/prettier-plugin-organize-imports

@sluongng sluongng force-pushed the sluongng/fe-organize-imports branch 6 times, most recently from 76721c4 to bc2cbf9 Compare June 29, 2025 09:39
@sluongng sluongng requested review from bduffany and fmeum June 29, 2025 09:49
@sluongng sluongng marked this pull request as ready for review June 29, 2025 09:49
@sluongng
Copy link
Contributor Author

I split this into 2 different commits so that it's a bit easier to review/rebase.

@sluongng sluongng force-pushed the sluongng/fe-organize-imports branch 2 times, most recently from 3449938 to 16bd449 Compare June 29, 2025 12:15
Copy link
Member

@bduffany bduffany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - can you make sure to rerun buildfix just before merging?

@sluongng sluongng force-pushed the sluongng/fe-organize-imports branch from 8f73b91 to 2ae80d4 Compare July 1, 2025 08:30
@sluongng sluongng merged commit 2ae5a4c into master Jul 1, 2025
12 of 14 checks passed
@sluongng sluongng deleted the sluongng/fe-organize-imports branch July 1, 2025 08:36
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.

3 participants