summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-01-29 16:34:02 +0200
committerWim Taymans <wim.taymans@gmail.com>2019-02-13 11:19:21 +0100
commitba653fccfca0e38aa5e963e3985d38b6a5f48431 (patch)
treef81003a3ccd1cf5c4e282907e985d65e98d131e7 /.editorconfig
parentac5ec9bbe20a0272a284011dd24660dd72a01817 (diff)
add .editorconfig files
These files help editors choose the correct coding style conventions, mostly useful for the indentation style Pipewire uses tab characters of size 8 in all of its codebase except in the meson files and in the gstreamer plugins, which use 2-space indentation
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..b3705825
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+# http://editorconfig.org
+root = true
+
+[*]
+indent_style = tab
+indent_size = 8
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+# Use 2 spaces for meson files
+[*.build]
+indent_style = space
+indent_size = 2