Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plugin kotlinter to v4 #16

Merged
merged 3 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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" }