# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# すべてのファイルのデフォルト設定
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

# Python ファイル
[*.py]
indent_size = 4
max_line_length = 120

# YAML ファイル
[*.{yaml,yml}]
indent_size = 2

# Markdown ファイル
[*.md]
trim_trailing_whitespace = false  # Markdownでは末尾空白が意味を持つ場合がある

# JSON ファイル
[*.json]
indent_size = 2

# Shell スクリプト
[*.sh]
indent_size = 2

# Makefile
[Makefile]
indent_style = tab
