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

lost package-lock.json indentation #4

Closed
alexanderanchishkin opened this issue Aug 15, 2022 · 3 comments
Closed

lost package-lock.json indentation #4

alexanderanchishkin opened this issue Aug 15, 2022 · 3 comments

Comments

@alexanderanchishkin
Copy link

alexanderanchishkin commented Aug 15, 2022

Line of code: here
You can see that 2-space-indentation is hardcoded for new package-lock.json file.
Is it possible to detect package-lock.json indentation? And if no is it possible to make option "tabWidth" for set this value?

@ai
Copy link
Member

ai commented Aug 15, 2022

It will be better to detect the origin indent from previous package-lock.json.

Can you send PR since i am locked on another open source project?

@alexanderanchishkin
Copy link
Author

Yes I can. Thank you.

@ai ai closed this as completed Sep 1, 2022
@ai
Copy link
Member

ai commented Sep 1, 2022

Fixed in 1.0.6.

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

2 participants