summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2021-12-07 17:09:11 +0100
committerCorentin Noël <tintou@noel.tf>2022-04-09 00:44:24 +0200
commit559f852ec5c15d058e899ed2617015ff27764045 (patch)
tree8dbe45542df3f307b77d1a420c7bb3359598b323 /.editorconfig
parentcadb1d8eef69b1029c5a893c81bc8e204d192d63 (diff)
downloadgcr-559f852ec5c15d058e899ed2617015ff27764045.tar.gz
Add .editorconfig file
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..d12b075
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,20 @@
+# SPDX-FileCopyrightText: 2021 The GCR Authors
+# SPDX-License-Identifier: CC0-1.0
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+
+[*.[ch]]
+indent_style = tab
+insert_final_newline = true
+trim_trailing_whitespace = true
+tab_width = 8
+
+[meson.build]
+indent_size = 2
+indent_style = space
+