From 8f6d53d64687e73a4320556d2ea90541da12a012 Mon Sep 17 00:00:00 2001 From: Thomas Frans Date: Tue, 14 May 2024 21:38:54 +0200 Subject: [PATCH] style(editorconfig): add EditorConfig file for consistent style Add an EditorConfig file to ensure all editors know how to edit files correctly. Apply conservative settings based on the existing files. Rust options are based on the defaults of `rustfmt`. --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d376162 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +charset = utf-8 +insert_final_newline = false + +[*.rs] +max_line_length = 100 + +[*.md] +max_line_length = 100