From ea363902b1473f9d7a4163626c37414c3b30d017 Mon Sep 17 00:00:00 2001 From: Forge Date: Fri, 24 Apr 2026 14:50:19 -0700 Subject: [PATCH] chore: add .editorconfig canonical template --- .editorconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..0123ad6ba --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +# EditorConfig — Phenotype org canonical +# https://editorconfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.{rs,toml,py,go,md,yaml,yml,json,html,css,scss}] +indent_size = 4 + +[*.{ts,tsx,js,jsx,mjs,cjs}] +indent_size = 2 + +[Makefile] +indent_style = tab + +[*.md] +trim_trailing_whitespace = false # trailing spaces = line break in Markdown