chore: add .editorconfig for consistent formatting

Change-Id: I087941201d8ce1b801b4663c4897f005f275ed5a
This commit is contained in:
wujunchen 2026-04-25 23:48:27 +08:00
parent 83f35f8ccb
commit 22f0781334

15
.editorconfig Normal file
View file

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