summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-30 14:09:46 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:42:30 +0200
commitc99ef7504a1374170f88b89faeb7e6dec6a55253 (patch)
tree9360597f3c45350e5be0abb49c4864a2d7ce21ae /.editorconfig
parenta27598ee4755423ebd2f0ad8c505644d644cf2c8 (diff)
Set up editor configs
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..1cdb4ce2
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+# EditorConfig helps developers define and maintain consistent
+# coding styles between different editors and IDEs
+# editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 4
+
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false
+indent_style = space
+
+# ktlint
+[*.{kt, kts}]
+disabled_rules = import-ordering