Skip to content

Commit fbb2799

Browse files
committed
🔧(git) set LF line endings for all text files
Windows users are by default using CRLF line endings, which can cause issues with some tools and environments. This commit sets the `.gitattributes` file to enforce LF line endings for all text files in the repository.
1 parent afbb4b2 commit fbb2799

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.gitattributes

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Set the default behavior for all files
2+
* text=auto eol=lf
3+
4+
# Binary files (should not be modified)
5+
*.png binary
6+
*.jpg binary
7+
*.jpeg binary
8+
*.gif binary
9+
*.ico binary
10+
*.mov binary
11+
*.mp4 binary
12+
*.mp3 binary
13+
*.flv binary
14+
*.fla binary
15+
*.swf binary
16+
*.gz binary
17+
*.zip binary
18+
*.7z binary
19+
*.ttf binary
20+
*.woff binary
21+
*.woff2 binary
22+
*.eot binary
23+
*.pdf binary

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to
2121
-🐛(frontend) table of content disappearing #982
2222
-🐛(frontend) fix multiple EmojiPicker #1012
2323
-🐛(frontend) fix meta title #1017
24+
-🔧(git) set LF line endings for all text files #1032
2425

2526

2627
## [3.3.0] - 2025-05-06

0 commit comments

Comments
 (0)