Skip to content

Commit

Permalink
Fix for #5 - always use LF for this repo.
Browse files Browse the repository at this point in the history
Follow the suggestions in yarnpkg/yarn#5480

- establish .editorconfig setting to ensure LF is used by editor
- establish .gitattributes setting to ensure LF is used upon checkout

Convert existing files to LF via dos2unix.
  • Loading branch information
jrnewton committed Mar 28, 2022
1 parent 9cc13d4 commit 84218c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
charset = utf-8
end_of_line = LF
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf

0 comments on commit 84218c5

Please sign in to comment.