summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-09-29 09:38:03 +0200
committerAl12rs <gabriel.cortesi@outlook.com>2018-09-29 09:38:03 +0200
commit3ccceb19e11e12501bfbaa35fcd6abfdb5edd966 (patch)
treef78206cfdb47f091d8dcb7f8b4033f54b818bff8 /.editorconfig
parent1a911747571254dfbf06971a9ca8041e30f488f1 (diff)
Added .editorconfig to main repo to help keep some consistency of whitespace.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..16be7907
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root = true
+
+[*.cpp]
+indent_style = space
+indent_size = 2
+insert_final_newline = true
+
+[*.h]
+indent_style = space
+indent_size = 2
+insert_final_newline = true
+
+[*.ui]
+indent_style = space
+indent_size = 2
+insert_final_newline = true