.editorconfig 설정
IDE/에디터 간 일관된 코딩 스타일을 보장하는 .editorconfig 설정 파일.
# EditorConfig: https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
[*.{js,jsx,ts,tsx,mjs,cjs}]
indent_size = 2
max_line_length = 100
[*.{css,scss,less}]
indent_size = 2
[*.{json,jsonc}]
indent_size = 2
[*.{yaml,yml}]
indent_size = 2
[*.{md,mdx}]
trim_trailing_whitespace = false
max_line_length = off
[*.{py}]
indent_size = 4
max_line_length = 88
[*.{go}]
indent_style = tab
indent_size = 4
[*.{rs}]
indent_size = 4
max_line_length = 100
[*.{java,kt}]
indent_size = 4
[Makefile]
indent_style = tab
[*.{sh,bash,zsh}]
indent_size = 2
end_of_line = lf
[*.{ps1,psm1}]
end_of_line = crlf
[*.{sln,vcxproj}]
end_of_line = crlf