Skip to content

Commit dfb082e

Browse files
Add .editorconfig to use LF in .ql/.qlref/.qll/.dbscheme files
1 parent 12631e3 commit dfb082e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.editorconfig

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

.gitattributes

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

0 commit comments

Comments
 (0)