aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@protonmail.com>2021-01-19 19:50:34 +0100
committerMaciej Barć <xgqt@protonmail.com>2021-01-19 19:50:34 +0100
commit382f441ef56f98cfaca08c5ccfca287954e2d036 (patch)
treed38f8df58b5da62e49c270d0be1daaddfd02e79f /.editorconfig
parentapp-editors/vscodium-bin: unbundle ripgrep only on not arm (diff)
downloadguru-382f441ef56f98cfaca08c5ccfca287954e2d036.tar.gz
guru-382f441ef56f98cfaca08c5ccfca287954e2d036.tar.bz2
guru-382f441ef56f98cfaca08c5ccfca287954e2d036.zip
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@protonmail.com>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..3d49c10c1
--- /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