# EditorConfig is awesome: https://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

# Markdown (줄 끝 공백 허용)
[*.md]
trim_trailing_whitespace = false

# YAML / JSON
[*.{yml,yaml,json}]
indent_size = 2

# JavaScript / TypeScript / React
[*.{js,jsx,ts,tsx}]
indent_size = 2

# CSS / SCSS / Tailwind
[*.{css,scss,less}]
indent_size = 2

# HTML / Blade
[*.{html,blade.php}]
indent_size = 2

# PHP (Laravel)
[*.php]
indent_size = 4

# Shell scripts
[*.sh]
indent_style = space
indent_size = 2

# Makefile (필수: tab)
[Makefile]
indent_style = tab
