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

Proposal: add import sorting to the base config #49

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

swain
Copy link
Contributor

@swain swain commented Feb 6, 2024

Motivation

We've been using this plugin to automatically sort imports in an internal project for some time. When combined with ESLint's "fix on save" feature in VSCode, the experience is great. I never have to think about import order, and imports are sorted automatically whenever I save. Plus, the ordering of imports is consistent between files.

My experience has been so great that I'd like to propose adding it to our core config.

@lifeomic-probot
Copy link

lifeomic-probot bot commented Feb 6, 2024

⚠️ Detected a breaking change in commit df611ec

Merging this PR will result in a major version bump.

Created by lifeomic-probot (Enforce Semantic Commits)

Copy link
Member

@shawnzhu shawnzhu left a comment

Choose a reason for hiding this comment

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

👍
the first thing in my mind is ☕

Copy link

@epeters3 epeters3 left a comment

Choose a reason for hiding this comment

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

Very nice. I like Python's isort tool. Nice that there's a good one for the JS ecosystem as well. 👍

@swain
Copy link
Contributor Author

swain commented Feb 6, 2024

Surprised at the quick widespread approval. Love it. Merging!

@swain swain merged commit 42c2e13 into master Feb 6, 2024
4 checks passed
@swain swain deleted the import-sort branch February 6, 2024 20:57
Copy link

github-actions bot commented Feb 6, 2024

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants