From 847dec2859d206cf32104edd7ff629f13c784112 Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Tue, 18 Jun 2024 09:59:12 -0400 Subject: [PATCH] style: init .editorconfig --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..f8d92942 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# editorconfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +# TypeScript and JavaScript files +[*.{ts,tsx,js,jsx}] +indent_size = 2 +quote_type = single