mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Add .editorconfig to use LF in .ql/.qlref/.qll/.dbscheme files
This commit is contained in:
2
.editorconfig
Normal file
2
.editorconfig
Normal file
@@ -0,0 +1,2 @@
|
||||
[*.{ql,qll,qlref,dbscheme,}]
|
||||
end_of_line = lf
|
||||
4
.gitattributes
vendored
4
.gitattributes
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user