From 33c466d88c4bee67f0b4eb15b2ca1b2fc421b10b Mon Sep 17 00:00:00 2001 From: Oliver Nordbjerg Date: Thu, 28 Mar 2024 12:43:58 +0100 Subject: [PATCH] chore: add `.editorconfig` (#7369) --- .editorconfig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..d53c0e8dded9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 4 + +[*.rs] +max_line_length = 100 + +[*.md] +# double whitespace at end of line +# denotes a line break in Markdown +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab + +[]