chore: add editorconfig

This commit is contained in:
Jixun Wu 2023-05-08 17:29:00 +01:00
parent 6bea3c135f
commit 6ab9ef8855
1 changed files with 15 additions and 0 deletions

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