Enforce LF line endings (#2190)

This commit is contained in:
Simon McConnell 2023-08-31 16:41:23 +08:00 committed by GitHub
parent 0d92ffdc7f
commit 91b474f073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

6
.editorconfig Normal file
View file

@ -0,0 +1,6 @@
# https://EditorConfig.org
root = true
[*]
end_of_line = lf

8
.gitattributes vendored
View file

@ -1 +1,7 @@
iframe/priv/static/iframe/*.html text eol=lf
# convert all CRLF to LF
* text=auto eol=lf
# ensure binary files are not marked as text
*.{ico,png,jpg,jpeg,gif,webp,woff,woff2} binary
iframe/priv/static/iframe/*.html text eol=lf