Skip to content

Commit

Permalink
Disable undesirable new ktlint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt committed Oct 23, 2023
1 parent f6b8275 commit 2c595cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ root = true
[*.{kt,kts}]
indent_size = 4
insert_final_newline = true

ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true

ktlint_standard_blank-line-before-declaration = disabled
ktlint_standard_filename = disabled
ktlint_standard_function-signature = disabled
ktlint_standard_no-blank-line-in-list = disabled
ktlint_standard_no-empty-first-line-in-class-body = disabled

# `string-template-indent` is disabled because it depends on `multiline-expression-wrapping`.
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_string-template-indent = disabled
1 change: 1 addition & 0 deletions bundled/src/iosMain/kotlin/DatadogLogger.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public actual class DatadogLogger actual constructor(
}
}

@Suppress("ktlint:standard:function-naming")
private fun DDLoggerConfiguration(
name: String,
level: Logger.Level,
Expand Down

0 comments on commit 2c595cc

Please sign in to comment.