-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,43 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
## Enforce text mode and LF line breaks | ||
*.bat text eol=lf | ||
*.cjs text eol=lf | ||
*.css text eol=lf | ||
*.dm text eol=lf | ||
*.dme text eol=lf | ||
*.dmf text eol=lf | ||
*.htm text eol=lf | ||
*.html text eol=lf | ||
*.js text eol=lf | ||
*.json text eol=lf | ||
*.jsx text eol=lf | ||
*.md text eol=lf | ||
*.ps1 text eol=lf | ||
*.py text eol=lf | ||
*.scss text eol=lf | ||
*.sh text eol=lf | ||
*.sql text eol=lf | ||
*.svg text eol=lf | ||
*.ts text eol=lf | ||
*.tsx text eol=lf | ||
*.txt text eol=lf | ||
*.yaml text eol=lf | ||
*.yml text eol=lf | ||
|
||
## Enforce binary mode | ||
*.bmp binary | ||
*.dll binary | ||
*.dmb binary | ||
*.exe binary | ||
*.gif binary | ||
*.jpg binary | ||
*.png binary | ||
*.so binary | ||
|
||
## Merger hooks, run tools/hooks/install.bat or install.sh to set up | ||
*.dmm text eol=lf merge=dmm | ||
*.dmi binary merge=dmi | ||
|
||
## Force tab indents on dm files | ||
*.dm whitespace=indent-with-non-tab |