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

Add support for sorting dart files in packages folder #79

Open
bhav-khurana opened this issue Apr 3, 2024 · 0 comments
Open

Add support for sorting dart files in packages folder #79

bhav-khurana opened this issue Apr 3, 2024 · 0 comments

Comments

@bhav-khurana
Copy link

Is your feature request related to a problem? Please describe.
Yes, some of the projects use a structure where only the main.dart file is present in the lib folder and the features of the app are present as packages in the packages folder.

Describe the solution you'd like
The import_sorter package should also run on the dart files present in the packages folder if it exists.

Describe alternatives you've considered
An alternative solution to this will be to write a script that goes through each folder in packages and run dart run import_sorter:main file_name. But it would be better if it's included in the package itself.

Additional context
NA

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

No branches or pull requests

1 participant