summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2021-01-31 22:30:33 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2021-01-31 22:30:33 +0100
commit6a51c4469a733c8c3f4a86095141e32231b07b9a (patch)
tree31b8fa9667a3f6528e23379f8fe61f8d1b5ef975 /.editorconfig
parente73cb7e6572f7c148c18e897d2440c3b7e2fc273 (diff)
downloadgnome-contacts-6a51c4469a733c8c3f4a86095141e32231b07b9a.tar.gz
Add .editorconfig
That hopefully decreases the number of style nitpicks during reviews.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..0b224a4
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,30 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+
+[*.vala]
+indent_size = 2
+tab_size = 4
+indent_style = space
+
+[*.css]
+indent_size = 2
+tab_size = 2
+indent_style = space
+
+[*.ui]
+indent_size = 2
+tab_size = 2
+indent_style = space
+
+[*.{xml.in,xml}]
+indent_size = 2
+tab_size = 2
+indent_style = space
+
+[meson.build]
+indent_size = 2
+indent_style = space