From: Alistair Thomas Date: Tue, 22 Aug 2017 15:39:30 +0000 (+0100) Subject: Add .editorconfig file X-Git-Tag: 0.37.91~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a447cfa0a6f5ba8867c7501ad41ebed033d5b3ca;p=thirdparty%2Fvala.git 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 --- 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