# https://editorconfig.org
root = true

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

# 对拍脚本（scripts/golden/）：Python 用 4 空格
[*.py]
indent_size = 4

# 上游签名 JS、proto 等原样复制（AGENTS 7.4），保留上游的换行、缩进和行尾空白
[static/**]
charset = unset
end_of_line = unset
indent_style = unset
indent_size = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# 上游仓库的只读副本
[references/**]
charset = unset
end_of_line = unset
indent_style = unset
indent_size = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

# 原样附带的第三方许可证
[packages/assets-ocr/LICENSE-ddddocr]
insert_final_newline = unset
trim_trailing_whitespace = unset
