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
+22
View File
@@ -0,0 +1,22 @@
# 에디터 공통 포맷 — 3스택·여러 에디터에서 들여쓰기/인코딩 통일
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
# Dart (dart format 기본 2칸)
[*.dart]
indent_size = 2
# Markdown — 줄 끝 공백이 의미를 가질 수 있어 트림 제외
[*.md]
trim_trailing_whitespace = false
# Makefile 은 탭 필수
[Makefile]
indent_style = tab