chore: add editorconfig

This commit is contained in:
鲁树人 2023-05-08 17:29:00 +01:00
parent 5e09de5991
commit 29b169cce6

15
.editorconfig Normal file
View File

@ -0,0 +1,15 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{js{x,on,},ts{x,}}]
indent_size = 2