commit:     382f441ef56f98cfaca08c5ccfca287954e2d036
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Tue Jan 19 18:50:34 2021 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Tue Jan 19 18:50:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=382f441e

add editorconfig

I have included some common rules I've see applied in ::gentoo.
Please help to make a complete list OR remove the ones that you think
are too restrictive, but I do like to have metadata.xml formatted the same.
... yea, I know that up until now I used to use spaces in metadata.xml

Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 .editorconfig | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..3d49c10c
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+tab_width = 4
+
+[*.ebuild]
+indent_style = tab
+
+[metadata.xml]
+indent_style = tab
+
+[repositories.xml]
+indent_style = space
+tab_width = 2

Reply via email to