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