chore: 增加代码规范和提交校验

Made-with: Cursor
This commit is contained in:
2026-04-03 16:23:35 +08:00
parent e48462cf4a
commit 7eed1ad5c6
10 changed files with 2382 additions and 36 deletions

12
.editorconfig Normal file
View File

@@ -0,0 +1,12 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false