aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-09-06 17:12:34 +0530
committerGitHub <noreply@github.com>2020-09-06 13:42:34 +0200
commit2e07eb1c38cdedf36278037274765fead6f828c3 (patch)
tree8a1d6c607b97f6709576ed24b1739e60f9e7a240 /.editorconfig
parent1d1bfbb5ad06ac6c0a63c949a64406cf100a3505 (diff)
Update dependencies and add EditorConfig file (#1082)
* build: uprev Gradle Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * editorconfig: init Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: remove unused dependency analysis plugin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: update ConstraintLayout and AndroidX testing libraries Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..aa68b484
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,23 @@
+# https://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
+
+[*.{java,kt,kts,xml}]
+indent_size = 4
+ij_continuation_indent_size = 2
+
+[*.{kt,kts}]
+kotlin_imports_layout=ascii
+ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
+ij_kotlin_field_annotation_wrap = normal
+
+[*.md]
+trim_trailing_whitespace = false