chore(project): 添加 .gitignore 与 .editorconfig,忽略用户本地产物

- 补充 macOS / Xcode / Swift 常用忽略规则
- 移除已跟踪的 xcuserdata 用户本地产物
- 统一编辑器基础配置(Swift 4 空格缩进)
This commit is contained in:
2026-10-29 16:33:34 +08:00
parent 16d4204dc0
commit aec5354d8b
5 changed files with 51 additions and 38 deletions
+18
View File
@@ -0,0 +1,18 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[*.swift]
indent_size = 4
[*.md]
trim_trailing_whitespace = false
[{Makefile,*.mk}]
indent_style = tab