mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
chore(gitattributes): configure LF line endings for JavaScript files
This commit is contained in:
8
.gitattributes
vendored
8
.gitattributes
vendored
@@ -2,6 +2,14 @@
|
|||||||
# ensures this even if the user has not set core.autocrlf.
|
# ensures this even if the user has not set core.autocrlf.
|
||||||
* text=auto
|
* text=auto
|
||||||
|
|
||||||
|
# Checkout JavaScript files with LF line endings
|
||||||
|
# to prevent `prettier` from reporting errors on Windows.
|
||||||
|
*.js eol=lf
|
||||||
|
*.jsx eol=lf
|
||||||
|
*.ts eol=lf
|
||||||
|
*.tsx eol=lf
|
||||||
|
*.json eol=lf
|
||||||
|
|
||||||
# This directory contains email messages verbatim, and changing CRLF to
|
# This directory contains email messages verbatim, and changing CRLF to
|
||||||
# LF will corrupt them.
|
# LF will corrupt them.
|
||||||
test-data/** text=false
|
test-data/** text=false
|
||||||
|
|||||||
Reference in New Issue
Block a user