From 829b751cf05f723f95813f5835c68e2dce6c361f Mon Sep 17 00:00:00 2001 From: Wilson Silva Date: Fri, 6 Jan 2023 10:12:31 +0700 Subject: [PATCH] Enforce consistent coding styles across different IDEs --- .editorconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..fe77564 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +max_line_length = 120 +trim_trailing_whitespace = true + +# 2 space indentation +[*.rb] +indent_style = space +indent_size = 2