]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add .editorconfig file
authorAlistair Thomas <astavale@yahoo.co.uk>
Tue, 22 Aug 2017 15:39:30 +0000 (16:39 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 27 Aug 2017 08:31:41 +0000 (10:31 +0200)
EditorConfig (http://editorconfig.org/) has become the
de facto standard for defining the use of white space in
project files. Code editors then choose the right
settings automatically when a file is edited.

https://bugzilla.gnome.org/show_bug.cgi?id=786620

.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..5919932
--- /dev/null
@@ -0,0 +1,16 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+
+[*.{vala,vapi,gs,metadata}]
+indent_style = tab
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[Makefile.am]
+indent_style = tab
+
+[meson.build]
+trim_trailing_whitespace = true