Skip to content

Commit

Permalink
Makes hooks and shit work
Browse files Browse the repository at this point in the history
  • Loading branch information
Useroth committed Jun 19, 2024
1 parent 2b69d6d commit de85e07
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion .gitattributes
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

0 comments on commit de85e07

Please sign in to comment.