[evince] Add editorconfig file to keep style consistency



commit c45c447df7c9416e0afb9a9764183dcc2ba9e567
Author: vanadiae <vanadiae35 gmail com>
Date:   Tue Jun 9 21:26:23 2020 +0200

    Add editorconfig file to keep style consistency
    
    An editorconfig file lists some style rules, like
    end of line type, charset and indent style
    (tab, space) and size to keep consistency between
    all code and to help getting easily on-board.
    
    Signed-off-by: Germán Poo-Caamaño <gpoo gnome org>

 .editorconfig | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
---
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..53dfa39a
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,40 @@
+# this file helps keeping consistent code style in all the project. IDEs will
+# automatically use the code style as defined in this file
+# see https://editorconfig.org/
+
+root=true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line=lf
+insert_final_newline=true
+charset=utf-8
+trim_trailing_whitespace=true
+
+[*.{c,h}]
+indent_style=tab
+indent_size=8
+
+[*.xml*]
+indent_style=space
+indent_size=2
+
+[*.css]
+indent_style=space
+indent_size=4
+
+[*.json]
+indent_style=space
+indent_size=4
+
+[meson.build]
+indent_style=space
+indent_size=2
+
+[snapcraft.yaml]
+indent_style=space
+indent_size=2
+
+[.gitlab-ci.yml]
+indent_style=space
+indent_size=4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]