Skip to content

Commit af6de65

Browse files
committed
Fix line endings - Force LF everywhere
- Add .gitattributes to enforce LF line endings - Update Prettier config with endOfLine: lf - Reformat all files with LF line endings This fixes CI format:check failures caused by CRLF/LF mismatch between Windows development and Linux CI environments.
1 parent 491edec commit af6de65

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
* text=auto eol=lf
2+
*.png binary
3+
*.jpg binary
4+
*.ico binary
5+
*.woff binary
6+
*.woff2 binary

.prettierrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"semi": true,
3-
"singleQuote": true
3+
"singleQuote": true,
4+
"endOfLine": "lf"
45
}

0 commit comments

Comments
 (0)