Skip to content

Commit

Permalink
Fix: Force LF end of line for styles and scripts
Browse files Browse the repository at this point in the history
Set attributes correctly in `.gitattributes` file. For reference, see https://help.github.com/articles/dealing-with-line-endings/.
  • Loading branch information
macedigital committed Jun 26, 2017
1 parent 726c918 commit 7ec45d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* text=auto

.css -crlf
.js -crlf
# Force LF end of line for styles and scripts
*.css text eol=lf
*.js text eol=lf

0 comments on commit 7ec45d8

Please sign in to comment.