chore: 줄바꿈·에디터 설정 추가 (.gitattributes, .editorconfig)

저장소 줄바꿈을 LF로 정규화하고 에디터 공통 포맷(UTF-8, 2-space)을 정의해
OS·에디터에 따른 불필요한 diff를 방지한다.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-28 13:58:01 +09:00
parent c5896fbdb1
commit 49fef58c5f
2 changed files with 46 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# 줄바꿈 정규화 — 어떤 OS에서 클론해도 저장소 내부는 LF로 통일 (Windows 작업 시 CRLF 변환 churn 방지)
* text=auto eol=lf
# Windows 전용 스크립트는 CRLF 유지
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# 셸 스크립트는 LF 강제
*.sh text eol=lf
# 바이너리 — 변환/diff 제외
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.jar binary
*.keystore binary