From 3039a00515bc3d8f8a0f32b0f79235a3022f94bd Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Wed, 26 Mar 2025 23:25:53 +0000 Subject: [PATCH 1/2] Add editor configuration with cursor rules --- .editorconfig | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..dfe8f2da5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,44 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 +indent_style = space +indent_size = 4 +max_line_length = 100 + +# Python specific settings +[*.py] +indent_style = space +indent_size = 4 + +# JavaScript and TypeScript specific settings +[*.{js,ts,jsx,tsx}] +indent_style = space +indent_size = 2 + +# JSON and YAML files +[*.{json,yml,yaml}] +indent_style = space +indent_size = 2 + +# Markdown files +[*.md] +trim_trailing_whitespace = false +max_line_length = off + +# Shell scripts +[*.sh] +indent_style = space +indent_size = 2 +end_of_line = lf + +# Makefiles require tabs +[Makefile] +indent_style = tab \ No newline at end of file From b09a042bf9a8aa0e0fcaa094f6e5c0006838ff74 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Wed, 26 Mar 2025 23:26:37 +0000 Subject: [PATCH 2/2] Automated pre-commit update --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index dfe8f2da5..6f334024f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -41,4 +41,4 @@ end_of_line = lf # Makefiles require tabs [Makefile] -indent_style = tab \ No newline at end of file +indent_style = tab