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

Run sort-imports over whole project? #31

Open
holloway opened this issue Sep 28, 2018 · 2 comments
Open

Run sort-imports over whole project? #31

holloway opened this issue Sep 28, 2018 · 2 comments

Comments

@holloway
Copy link

Can I run vsc-sort-imports over the whole project?

@amatiasq
Copy link
Owner

Not for now, though it would be a nice feature.

@jerome-benoit
Copy link
Collaborator

Adding that kind of script entry to a project package.json permits to do it:

"import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}' 'test/**/*.ts{,x}' 'build/types/**/*.ts{,x}'"

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

No branches or pull requests

3 participants