3 Commits

Author SHA1 Message Date
Ronny (tastytea) Gutbrod
7b5e37306f
.editorconfig: Don't force tabs in metadata.xml.
“Indentation should be consistent, i.e. either spaces or tabs, but not
both. Keep the existing style when touching metadata.xml files that
belong to other developers.”
<https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/index.html>

There are 250 packages that use spaces and 276 that use tabs right now.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2021-01-19 22:35:41 +01:00
Ronny (tastytea) Gutbrod
0351bb0be9
Update .editorconfig.
Set charset to UTF-8 for everything:
<https://www.gentoo.org/glep/glep-0031.html>.

Trim trailing whitespace in ebuilds:
<https://devmanual.gentoo.org/ebuild-writing/file-format/index.html>.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2021-01-19 20:20:02 +01:00
Maciej Barć
382f441ef5
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>
2021-01-19 19:50:34 +01:00