From a650fc7fe17acc436e573d669085a41e21f2f9df Mon Sep 17 00:00:00 2001 From: Takshak Mudgal <114814639+takshakmudgal@users.noreply.github.com> Date: Sun, 28 Jan 2024 20:57:50 +0530 Subject: [PATCH] feat: added editorconfig (#1492) --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..6cda7f071d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# Top-most EditorConfig file +root = true + +# Set the indentation style and size for TypeScript and JavaScript files +[*.{js,ts,tsx}] +indent_style = space +indent_size = 2 + +# Specify indentation for JSX and React files +[*.{jsx,tsx}] +indent_size = 2 + +# Specify line endings and encoding +end_of_line = lf +charset = utf-8 + +# Enforce whitespace conventions +trim_trailing_whitespace = true +insert_final_newline = true \ No newline at end of file