-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
111 lines (89 loc) · 2.13 KB
/
.editorconfig
File metadata and controls
111 lines (89 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# EditorConfig - 일관된 코딩 스타일 설정
# https://editorconfig.org
# 최상위 설정 파일
root = true
# ================================
# 기본 설정 (모든 파일)
# ================================
[*]
# 인코딩
charset = utf-8
# 들여쓰기
indent_style = space
indent_size = 2
# 줄 끝
end_of_line = lf
# 파일 끝 빈 줄
insert_final_newline = true
# 줄 끝 공백 제거
trim_trailing_whitespace = true
# ================================
# 마크다운 파일
# ================================
[*.md]
# 마크다운에서 줄 끝 공백 2개는 줄바꿈을 의미하므로 유지
trim_trailing_whitespace = false
# 최대 줄 길이 (권장)
max_line_length = off
# ================================
# YAML 파일
# ================================
[*.{yml,yaml}]
indent_size = 2
# ================================
# JSON 파일
# ================================
[*.json]
indent_size = 2
# ================================
# JavaScript / TypeScript
# ================================
[*.{js,jsx,ts,tsx}]
indent_size = 2
# ================================
# Python
# ================================
[*.py]
indent_size = 4
# ================================
# Shell 스크립트
# ================================
[*.{sh,bash,zsh}]
indent_size = 2
# ================================
# Makefile
# ================================
[Makefile]
# Makefile은 반드시 탭 사용
indent_style = tab
# ================================
# Git 설정 파일
# ================================
[.git*]
indent_size = 2
# ================================
# 설정 파일
# ================================
[*.{toml,ini,cfg}]
indent_size = 2
[.editorconfig]
indent_size = 2
# ================================
# HTML / CSS
# ================================
[*.{html,htm,css,scss,sass,less}]
indent_size = 2
# ================================
# XML
# ================================
[*.{xml,svg}]
indent_size = 2
# ================================
# 특정 파일
# ================================
[{package.json,package-lock.json}]
indent_size = 2
[{.babelrc,.eslintrc,.prettierrc}]
indent_size = 2
[*.code-workspace]
indent_size = 2