Skip to content

Commit dbe42a7

Browse files
committed
Force package*.json to use LF
NPM and Lerna have inconsistent behavior around line endings depending on the versions used. Forcing these files to be LF on all platforms gets around these issues.
1 parent cb6f834 commit dbe42a7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ trim_trailing_whitespace = true
99

1010
[*.{yml,json,bicep}]
1111
indent_size = 2
12+
13+
[package*.json]
14+
end_of_line = lf

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* text=auto
2+
package*.json text eol=lf

0 commit comments

Comments
 (0)