[gnome-boxes] Add .editorconfig
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Add .editorconfig
- Date: Wed, 12 Aug 2015 10:06:01 +0000 (UTC)
commit 3b904605b0877f91b040a56ca95b9b273ae94726
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Aug 12 09:23:40 2015 +0200
Add .editorconfig
Set indentation style for Makefile, Vala, UI, XML, CSS.
This is needed to ease keeping the coding style enforced.
https://bugzilla.gnome.org/show_bug.cgi?id=753544
.editorconfig | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..b24727c
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,25 @@
+# http://EditorConfig.org
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = false
+
+[Makefile*]
+indent_style = tab
+indent_size = 8
+
+[*.vala]
+indent_style = space
+indent_size = 4
+
+[*.{ui|xml}]
+indent_style = space
+indent_size = 2
+
+[*.css]
+indent_style = space
+indent_size = 4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]