You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one uses tabs to indent their package.json file, npm will overwrite these tabs with spaces. It does not warn you that you used tabs instead of spaces, and the documentation for package.json does not mention how it should be indented.
When
When an npm command is issued that mutates package.json (for example, installing a package).
Where
n/a
How
Current Behavior
npm will replace tabs with spaces as it mutates package.json.
Steps to Reproduce
Write a skeleton package.json using tabs for indentation
Install a package
Observe that the tabs have been replaced by spaces (1 space for each tab)
Expected Behavior
npm sees that package.json is indented with tabs and continues to indent with tabs.
Who
n/a
References
n/a
The text was updated successfully, but these errors were encountered:
What / Why
If one uses tabs to indent their package.json file, npm will overwrite these tabs with spaces. It does not warn you that you used tabs instead of spaces, and the documentation for package.json does not mention how it should be indented.
When
Where
How
Current Behavior
Steps to Reproduce
Expected Behavior
Who
References
The text was updated successfully, but these errors were encountered: