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

Replace importOrderSeparation with <SEPARATOR> #268

Open
joutvhu opened this issue Oct 30, 2023 · 4 comments
Open

Replace importOrderSeparation with <SEPARATOR> #268

joutvhu opened this issue Oct 30, 2023 · 4 comments
Labels
feature request A new feature request

Comments

@joutvhu
Copy link

joutvhu commented Oct 30, 2023

I think importOrderSeparation should be removed and provide a <SEPARATOR> special word in the importOrder.
It makes it easy for me to specify the split position I want.

"importOrder": [
  "<THIRD_PARTY_MODULES>",
  "<SEPARATOR>"
  "^app-",
  "^~"
  "^[./]"
]
@joutvhu joutvhu added the feature request A new feature request label Oct 30, 2023
@joutvhu
Copy link
Author

joutvhu commented Oct 30, 2023

It is also not necessary to remove importOrderSeparation, which can be retained to support backward compatibility.

@DaveKeehl
Copy link

I would also like to see this implemented to have more control over the import groups.

@adnjoo
Copy link

adnjoo commented May 30, 2024

+1 trying to have groups of related files e.g. local files @/... imports with ../ imports without a space between

@IanVS
Copy link

IanVS commented Jun 25, 2024

Seems like a bit of a duplicate of #166?

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

No branches or pull requests

4 participants