From 06c87d4727ea9268bd4e431ffd46a753fb2c6ca9 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 25 Jan 2025 02:03:40 +1000 Subject: [PATCH 1/2] Add basic EditorConfig file https://editorconfig.org/ From the site: "EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems." Most editors / IDEs are supported --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..757efe4c3ec --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# EditorConfig is awesome: https://editorconfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Tab indentation (no size specified) +[Makefile] +indent_style = tab From 4847a3d1b378539a261561732ad9c7e846cc9346 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Mon, 27 Jan 2025 04:44:13 +1000 Subject: [PATCH 2/2] Update .editorconfig --- .editorconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.editorconfig b/.editorconfig index 757efe4c3ec..1a578bb53c4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,7 @@ root = true [*] end_of_line = lf insert_final_newline = true +tab_width = 4 # Tab indentation (no size specified) [Makefile]