chore: editor config (#5562)

This commit is contained in:
ClarkXia 2022-11-16 17:38:28 +08:00 committed by GitHub
parent 05f773f9cb
commit 1004367749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
quote_type=single
[*.md]
trim_trailing_whitespace = false
[makefile]
indent_style = tab
indent_size = 4
[*.rs]
indent_style = space
indent_size = 4