Merge pull request #5738 from element-hq/renovate/ktlint

fix(deps): update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0
This commit is contained in:
Benoit Marty
2025-11-19 12:16:05 +01:00
committed by GitHub
3 changed files with 8 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ ij_smart_tabs = false
ij_visual_guides = none
ij_wrap_on_typing = false
# Ktlint rule, for more information see https://pinterest.github.io/ktlint/1.1.1/faq/#how-do-i-enable-or-disable-a-rule
# Ktlint rule, for more information see https://pinterest.github.io/ktlint/latest/faq/#how-do-i-enable-or-disable-a-rule
ktlint_standard_wrapping = disabled
ktlint_standard_trailing-comma-on-call-site = disabled
ktlint_standard_trailing-comma-on-declaration-site = disabled
@@ -31,6 +31,10 @@ ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_standard_function-expression-body = disabled
ktlint_standard_chain-method-continuation = disabled
ktlint_standard_class-signature = disabled
# Added when upgrading to 1.8.0
ktlint_standard_when-entry-bracing = disabled
ktlint_standard_blank-line-between-when-conditions = disabled
ktlint_standard_mixed-condition-operators = disabled
[*.java]
ij_java_align_consecutive_assignments = false

View File

@@ -60,7 +60,7 @@ autoservice = "1.1.1"
# quality
detekt = "1.23.8"
# See https://github.com/pinterest/ktlint/releases/
ktlint = "1.7.1"
ktlint = "1.8.0"
androidx-test-ext-junit = "1.3.0"
kover = "0.9.1"

View File

@@ -72,10 +72,6 @@ class DefaultNotificationChannels(
createNotificationChannels()
}
/* ==========================================================================================
* Channel names
* ========================================================================================== */
/**
* Create notification channels.
*/
@@ -110,10 +106,7 @@ class DefaultNotificationChannels(
}
}
/**
* Default notification importance: shows everywhere, makes noise, but does not visually
* intrude.
*/
// Default notification importance: shows everywhere, makes noise, but does not visually intrude.
notificationManager.createNotificationChannel(
NotificationChannelCompat.Builder(
NOISY_NOTIFICATION_CHANNEL_ID,
@@ -138,9 +131,7 @@ class DefaultNotificationChannels(
.build()
)
/**
* Low notification importance: shows everywhere, but is not intrusive.
*/
// Low notification importance: shows everywhere, but is not intrusive.
notificationManager.createNotificationChannel(
NotificationChannelCompat.Builder(
SILENT_NOTIFICATION_CHANNEL_ID,