Skip to content

Commit

Permalink
Update dependency com.pinterest.ktlint:ktlint-cli to v1.4.0 (#269)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 27, 2024
1 parent 2b91a50 commit d73831a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ kctfork_ksp = { module = "dev.zacsweers.kctfork:ksp", version.ref = "kctfork" }
ksp_gradle_plugin = { module = "com.google.devtools.ksp:symbol-processing-gradle-plugin", version.ref = "ksp" }
ksp_api = { module = "com.google.devtools.ksp:symbol-processing-api", version.ref = "ksp" }
kotlin_gradle_plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
ktlint = { module = "com.pinterest.ktlint:ktlint-cli", version = "1.3.1" }
ktlint = { module = "com.pinterest.ktlint:ktlint-cli", version = "1.4.0" }
anvil_annotations = { module = "com.squareup.anvil:annotations", version.ref = "anvil" }
anvil_compiler = { module = "com.squareup.anvil:compiler", version.ref = "anvil" }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,10 @@ private fun CompilationResult.assertUnusedScopes(message: String, line: Int, col
)
}

private fun CompilationResult.finding(message: String, line: Int, column: Int?) =
FindingInfo(
message = message,
line = line,
column = column,
ruleName = "UnusedScopes",
fileName = sourcesDir.resolve("test/MyComponent.${type.extension}").toString(),
)
private fun CompilationResult.finding(message: String, line: Int, column: Int?) = FindingInfo(
message = message,
line = line,
column = column,
ruleName = "UnusedScopes",
fileName = sourcesDir.resolve("test/MyComponent.${type.extension}").toString(),
)

0 comments on commit d73831a

Please sign in to comment.