Skip to content

Commit

Permalink
Update plugin kotlinter to v4 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
juul-mobile-bot authored Oct 23, 2023
1 parent 9ba4cca commit 78ec459
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ nserrorkt = { module = "com.rickclephas.kmp:nserror-kt", version = "0.1.0" }
android-library = { id = "com.android.library", version = "8.1.2" }
api = { id = "binary-compatibility-validator", version = "0.13.2" }
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version = "1.9.10" }
kotlinter = { id = "org.jmailen.kotlinter", version = "3.16.0" }
kotlinter = { id = "org.jmailen.kotlinter", version = "4.0.0" }
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.25.3" }
swiftpackage = { id = "io.github.luca992.multiplatform-swiftpackage", version = "2.1.4" }

0 comments on commit 78ec459

Please sign in to comment.