[PATCH] Add .editorconfig file
Robert Mader
robert.mader at collabora.com
Sat Oct 19 15:16:06 CEST 2024
To make contributing to libcamera more fun, see
https://editorconfig.org/
Signed-off-by: Robert Mader <robert.mader at collabora.com>
---
.editorconfig | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 .editorconfig
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..4599ce24
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: CC0-1.0
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+
+[*.{cpp,h}]
+indent_size = 8
+indent_style = tab
+insert_final_newline = true
+
+[*.xml]
+indent_size = 2
+indent_style = space
+
+[meson.build]
+indent_size = 2
+indent_style = space
\ No newline at end of file
--
2.47.0
More information about the libcamera-devel
mailing list