Add .editorconfig to use LF in .ql/.qlref/.qll/.dbscheme files

This commit is contained in:
Dave Bartolomeo
2018-08-24 13:20:40 -07:00
parent 12631e3fb1
commit dfb082e34f
2 changed files with 5 additions and 1 deletions

2
.editorconfig Normal file
View File

@@ -0,0 +1,2 @@
[*.{ql,qll,qlref,dbscheme,}]
end_of_line = lf

4
.gitattributes vendored
View File

@@ -1,13 +1,15 @@
# The following file types will be normalized to LF line endings in the Git
# database, and will keep those LF line endings in the working tree even on
# Windows. Any other files will have whatever line endings they had when they
# were committed. If you add new entires below, you should renormalize the
# were committed. If you add new entries below, you should renormalize the
# affected files by running the following from the root of this repo (requires
# Git 2.16 or greater):
#
# git add --renormalize .
# git status [just to show what files were renormalized]
# git commit -m "Normalize line endings"
#
# Also, please update .editorconfig to handle any new entries as well.
*.ql eol=lf
*.qll eol=lf
*.qlref eol=lf