[Libosinfo] [PATCH osinfo-db] Add .editorconfig

Cole Robinson crobinso at redhat.com
Sat Mar 2 21:10:03 UTC 2019


editorconfig[1] defines a file format for specifying basic coding style
rules, and a bunch of editor plugins to make use of the rules.

Add an .editorconfig file to indicate our XML format is 2 space indent
with no hard tabs

[1]: https://editorconfig.org/

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 .editorconfig | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..6d0b448
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,3 @@
+[*.xml.in]
+indent_style = space
+indent_size = 2
-- 
2.20.1




More information about the Libosinfo mailing list