summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Thomas <astavale@yahoo.co.uk>2017-08-22 16:39:30 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2017-08-23 07:34:23 +0200
commita447cfa0a6f5ba8867c7501ad41ebed033d5b3ca (patch)
tree6fc43b27f108043b6d566e5cd7ee16a929a03a47
parent1377d85022297118f523097f7cafda08be02a549 (diff)
downloadvala-a447cfa0a6f5ba8867c7501ad41ebed033d5b3ca.tar.gz
Add .editorconfig file
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
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..591993262
--- /dev/null
+++ b/.editorconfig
@@ -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