Skip to content

Commit

Permalink
enforce git line endings configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalmaceda committed Jul 19, 2021
1 parent d848d18 commit 92e0f16
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
@@ -0,0 +1,4 @@
root = true

[*]
end_of_line = lf
7 changes: 7 additions & 0 deletions .gitattributes
@@ -0,0 +1,7 @@
# We'll let Git's auto-detection algorithm infer if a file is text. If it is,
# enforce LF line endings regardless of OS or git configurations.
* text=auto eol=lf

# Isolate binary files in case the auto-detection algorithm fails and
# marks them as text files (which could brick them).
*.{png,jpg,jpeg,gif,webp,woff,woff2} binary

0 comments on commit 92e0f16

Please sign in to comment.