summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2018-09-14 12:59:27 +0200
committerŁukasz Stelmach <l.stelmach@samsung.com>2018-09-14 13:51:41 +0200
commit63bd3ef24c98344667b587ec84e5047b42c4159a (patch)
tree1996200fb7b69c98b28a7ac05a973a5881ba826b
parent84c289a9a5c65d6cdcbfe8c75ab25a29d36f9396 (diff)
downloadargos_watchdog-63bd3ef24c98344667b587ec84e5047b42c4159a.tar.gz
argos_watchdog-63bd3ef24c98344667b587ec84e5047b42c4159a.tar.bz2
argos_watchdog-63bd3ef24c98344667b587ec84e5047b42c4159a.zip
Add .editorconfig file
The file holds basic configuration for text editors regarding coding style as recommended for Tizen development at https://wiki.tizen.org/Native_Platform_Coding_Idiom_and_Style_Guide See https://editorconfig.org/ for details. Change-Id: I8ba584ba3e0d7967c867902c09b702e2e7a271f1 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r--.editorconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..764ee3a
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,19 @@
+# EditorConfig file for Tizen projects
+
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+
+# https://wiki.tizen.org/Native_Platform_Coding_Idiom_and_Style_Guide
+[*.{c,cpp,h}]
+indent_style = tab
+indent_size = 4
+
+# Tab indentation (no size specified)
+[Makefile,Makefile.*]
+indent_style = tab