aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJonas Platte <mail@jonasplatte.de>2016-07-04 14:08:35 +0200
committerJonas Platte <mail@jonasplatte.de>2016-07-04 14:12:32 +0200
commite55e5cc6b488527e908e24d9379bc258acbe30d7 (patch)
tree88f1862e467782c7904097358e04387fa2ed4a1e /.editorconfig
parentb658b464ece28a21017e39f383bb4487a40816f9 (diff)
Create .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..a1c73fe4
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,22 @@
+# For the full list of code style requirements, see CONTRIBUTING.md
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+
+[*.{c,h,cmake,txt}]
+indent_style = tab
+indent_size = 4
+
+[*.{xml,yml}]
+indent_style = space
+indent_size = 2
+
+[config]
+indent_style = space
+indent_size = 4
+
+[*.md]
+trim_trailing_whitespace = false