[libgweather/ebassi/gtk4: 16/56] Add editor configuration file




commit bd5efb819bdd075c79e9ef5789847c3097db16da
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Oct 10 16:37:12 2021 +0100

    Add editor configuration file
    
    Most text editors, as well as GNOME Builder, understand the editorconfig
    format, and it avoids using modelines like we're in 1987.

 .editorconfig | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..d59bc10e
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,41 @@
+# SPDX-FileCopyrightText: 2021 Emmanuele Bassi
+#
+# SPDX-License-Identifier: CC0-1.0
+
+root = true
+
+[*]
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+end_of_line = lf
+charset = utf-8
+
+[meson.build]
+indent_size = 2
+
+[*.c]
+indent_size = 4
+max_line_length = 80
+
+[*.h]
+indent_size = 8
+max_line_length = 120
+
+[*.py]
+indent_size = 4
+max_line_length = 120
+balanced_wrapping = true
+not_skip = __init__.py
+
+[*.json]
+indent_size = 2
+
+[*.md]
+max_line_length = 79
+
+[*.xml]
+indent_size = 2
+
+[*.its]
+indent_size = 2


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