Skip to content

Commit

Permalink
Create .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Jul 25, 2024
1 parent e93c21b commit 6b5d9ad
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# adapted out of https://github.com/h5bp/html5-boilerplate/blob/main/.gitattributes
# Automatically normalize line endings for all text-based files
# https://git-scm.com/docs/gitattributes#_end_of_line_conversion

* text=auto

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# For the following file types, normalize line endings to LF on
# checkin and prevent conversion to CRLF when they are checked out
# (this is required in order to prevent newline related issues like,
# for example, after the build script is run)

.* text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.mjs text eol=lf
*.sh text eol=lf
*.txt text eol=lf
*.xml text eol=lf
*.yml text eol=lf

0 comments on commit 6b5d9ad

Please sign in to comment.