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

RFC: Add a newline to the end of the generated package-lock.json #39

Open
melink14 opened this issue Jul 6, 2021 · 1 comment
Open

Comments

@melink14
Copy link

melink14 commented Jul 6, 2021

By default, npm puts a newline at the end of package-lock.json but when npm-force-resolutions rewrites the file, it does not include a final newline.

This is not a major problem but it does trigger my linters since it's unexpected.

@dnicolson
Copy link

Tabs are also converted to spaces, making diffs difficult to read if the package-lock.json file was not already using spaces.

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