From 03e749b1284a2ba5d983aa85275c1ea6afa79608 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 21 Aug 2026 19:44:28 +0000 Subject: [PATCH] chore: add .editorconfig for consistent non-Rust file formatting (#164) --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ce742f8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ ++# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.rs] +indent_size = 4 + +[*.toml] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false