summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseExposito <jose.exposito89@gmail.com>2021-03-19 08:37:02 +0100
committerJoseExposito <jose.exposito89@gmail.com>2021-03-19 08:37:02 +0100
commit2babdba1d7eb925a5bd8c3acc21ab1ab331ab673 (patch)
treee15637ec9de15e7775574cdfa97f463e4aa02421
parentcd4f2f32b57ad3f092c4ccac523e3d94014cc045 (diff)
downloadlibinput-2babdba1d7eb925a5bd8c3acc21ab1ab331ab673.tar.gz
tools/code-formatting: Add EditorConfig file
EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs: https://editorconfig.org/ Signed-off-by: José Expósito <jose.exposito89@gmail.com>
-rw-r--r--.editorconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..f7a6d655
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,11 @@
+# https://editorconfig.org/
+
+root = true
+
+[*.{c,h}]
+charset = utf-8
+end_of_line = lf
+indent_size = 8
+indent_style = tab
+insert_final_newline = true
+trim_trailing_whitespace = true