From 05ef2e8de83297c71fd51097a37bee7f09f502da Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Tue, 24 Nov 2026 11:48:20 +0200 Subject: [PATCH] chore: add the shared .editorconfig This is a copy of the canonical .editorconfig in uxfront-com/.github, byte for byte. It sets UTF-8, LF line endings, two-space indents, a final newline and trimmed trailing whitespace (kept in Markdown), so editors follow the same whitespace rules as the formatter in the files it skips. It matches @uxfront/oxfmt-config, which keeps oxfmt's defaults. Co-authored-by: multica-agent --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..96a3987 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# Shared whitespace rules for every uxfront-com repository. +# The canonical copy is .editorconfig in uxfront-com/.github. Change it there, then copy it. +# It matches @uxfront/oxfmt-config, which keeps oxfmt's defaults: two spaces, LF and a final newline. +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false