.editorconfig

This commit is contained in:
lutinglt
2025-02-19 12:05:24 +08:00
parent ce462ff305
commit 69e0c063de
2 changed files with 22 additions and 4 deletions

17
.editorconfig Normal file
View File

@@ -0,0 +1,17 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# EditorConfig is awesome: https://EditorConfig.org
root = true
[*]
charset = utf-8
indent_size = 2
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# documentation, utils
[*.{md,mdx,diff}]
trim_trailing_whitespace = false