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

root = true

# 所有文件
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# Lua 文件
[*.lua]
indent_style = tab
indent_size = 4

# JavaScript/TypeScript 文件
[*.{js,ts,jsx,tsx,vue}]
indent_style = tab
indent_size = 4

# JSON 文件
[*.json]
indent_style = tab
indent_size = 4

# YAML 文件
[*.{yml,yaml}]
indent_style = tab
indent_size = 4

# Markdown 文件
[*.md]
trim_trailing_whitespace = false
indent_style = tab
indent_size = 4
