# Editor configuration, see 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

[*.{yml,yaml,json,toml,ini,md}]
indent_size = 2

[Makefile]
indent_style = tab

# Windows 批处理文件使用 CRLF（与 .gitattributes 保持一致）
[*.{bat,cmd}]
end_of_line = crlf

# PowerShell 脚本使用 CRLF
[*.ps1]
end_of_line = crlf
