From 9f592e7ce2358c67d8a4fdab8a86ee445c48f3bc Mon Sep 17 00:00:00 2001 From: Matt Cavanagh <1776058+Maelstromeous@users.noreply.github.com> Date: Thu, 6 Feb 2025 17:47:37 +0000 Subject: [PATCH] feat: added .editorconfig to ensure consistency across IDEs and to prevent line ending oopsies (#17) --- .editorconfig | 6 ++++++ .gitignore | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..03328c5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +[*] +indent_style = tab +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.gitignore b/.gitignore index 0418c82..87323a5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ !h2mm !install.sh !README.md -!version \ No newline at end of file +!version +!.editorconfig