Closed alexanderanchishkin closed 1 year ago
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?
It will be better to detect the origin indent from previous package-lock.json.
package-lock.json
Can you send PR since i am locked on another open source project?
Yes I can. Thank you.
Fixed in 1.0.6.
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?