summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-21 09:09:02 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-21 09:09:02 +0300
commitf6fd0914374b66e62b26b2178586f5e88551529d (patch)
tree6670552523fef1e8678abfa1c10cbe28fc608c24 /.editorconfig
parente69e0071b8803158cb9428a54815e8a6921ab4af (diff)
add editorconfig and reformat code accordingly
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..629d5477
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,18 @@
+# indicate this is the root of the project
+root = true
+
+[*.{java}]
+charset = utf-8
+indent_style = tab
+indent_size = 4
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = lf
+
+[*.{gradle}]
+charset = utf-8
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+insert_final_newline = true
+end_of_line = lf