aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-06-09 21:57:20 +1000
committerGitHub <noreply@github.com>2024-06-09 21:57:20 +1000
commitfc8e81a9f88b01ec63d8fa1d7f0d6ebbdc51d836 (patch)
treee4d5b243aacdc7833303f9c32eb61a6db29838e7
parent956f9a4d56e533a08e88896277ce9f7e9da06716 (diff)
downloadskyhanni-fc8e81a9f88b01ec63d8fa1d7f0d6ebbdc51d836.tar.gz
skyhanni-fc8e81a9f88b01ec63d8fa1d7f0d6ebbdc51d836.tar.bz2
skyhanni-fc8e81a9f88b01ec63d8fa1d7f0d6ebbdc51d836.zip
Backend: Change editor config a bit (#2044)
-rw-r--r--.editorconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
index bbf29a1d0..faff54218 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -16,7 +16,7 @@ ij_any_block_comment_add_space = true
ij_any_line_comment_add_space = true
# Max line length
-max_line_length = 140
+max_line_length = 120
# Java Files
[*.java]
@@ -26,7 +26,7 @@ ij_java_class_count_to_use_import_on_demand = 2147483647
ij_java_packages_to_use_import_on_demand = 2147483647
[*.kt]
-ktlint_code_style=intellij_idea
+ktlint_code_style = intellij_idea
# Kotlin files should not use wildcard imports
ij_kotlin_name_count_to_use_star_import = 2147483647
@@ -35,6 +35,7 @@ ij_kotlin_enum_constants_wrap = split_into_lines
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_allow_trailing_comma = true
+ktlint_standard_multiline-if-else = disabled
ktlint_standard_no-empty-first-line-in-class-body = disabled
ktlint_standard_no-single-line-block-comment = disabled
ktlint_standard_no-blank-line-before-rbrace = disabled
@@ -48,6 +49,8 @@ ktlint_standard_context-receiver-wrapping = disabled
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_string-template-indent = disabled
ktlint_standard_no-trailing-spaces = disabled
+ktlint_standard_function-signature = disabled
+ktlint_standard_wrapping = disabled
ktlint_standard_no-line-break-before-assignment = true
ktlint_standard_no-wildcard-imports = enabled