Skip to content

Commit

Permalink
Unix line endings
Browse files Browse the repository at this point in the history
Closes #311
  • Loading branch information
sethfischer committed Jun 29, 2021
1 parent 25e19f2 commit 5eea0cc
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 143 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
12 changes: 12 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Contributing

## Formatting

Contributors should configure their editor to use Unix line endings (`LF`).

If you’re on a Windows machine and your editor is not correctly using Unix line endings,
consider using [Git's `core.autocrlf`](https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_autocrlf) setting.
On a Windows machine, set it to true — this converts LF endings into CRLF when you check out code:

$ git config core.autocrlf true

Loading

0 comments on commit 5eea0cc

Please sign in to comment.