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

Introduce a <SIDE_EFFECT_IMPORTS> tag #274

Open
oumar-fall opened this issue Dec 18, 2023 · 0 comments
Open

Introduce a <SIDE_EFFECT_IMPORTS> tag #274

oumar-fall opened this issue Dec 18, 2023 · 0 comments
Labels
feature request A new feature request

Comments

@oumar-fall
Copy link

Is your feature request related to a problem?
It can be useful to move side-effectful imports (import "module";) to the top of the imports to ensure the side-effects are executed first.

Describe the solution you'd like
A solution could be to have a tag (similar to <THIRD_PARTY_MODULES>) to be able to specify a specific position for such imports.

Describe alternatives you've considered
it can also be a boolean flag in the options.

@oumar-fall oumar-fall added the feature request A new feature request label Dec 18, 2023
@oumar-fall oumar-fall changed the title Introuce a <SIDE_EFFECT_IMPORTS> tag Introduce a <SIDE_EFFECT_IMPORTS> tag Dec 18, 2023
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

1 participant