From 35759b75616b92772dcad19d124e31c8f513cb27 Mon Sep 17 00:00:00 2001 From: Rod Elias Date: Fri, 14 Oct 2022 00:06:52 -0300 Subject: [PATCH 1/2] Add .editorconfig file See https://editorconfig.org/ --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..a7c44ddb --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +indent_size = 4 +indent_style = space +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 From bb5769e2e37e8c9439328fdfbd7293a8eff30671 Mon Sep 17 00:00:00 2001 From: Rod Elias Date: Sat, 15 Oct 2022 15:52:06 -0300 Subject: [PATCH 2/2] Add `.editorconfig` to `.gitattributes` --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index c23249d2..91b0574a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ *.min.js binary +/.editorconfig export-ignore /.gitattributes export-ignore /.github export-ignore /.gitignore export-ignore