From 6ab9ef88550e1202f0ba91b783ea57f41cce5c37 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Mon, 8 May 2023 17:29:00 +0100 Subject: [PATCH] chore: add editorconfig --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..fd4bad9 --- /dev/null +++ b/.editorconfig @@ -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