Skip to content

feat(cli): Attempt at patching the existing event with a new file reader to support trunk based flows #86

feat(cli): Attempt at patching the existing event with a new file reader to support trunk based flows

feat(cli): Attempt at patching the existing event with a new file reader to support trunk based flows #86

GitHub Actions / detekt failed Apr 25, 2024 in 1s

reviewdog [detekt] report

reported by reviewdog 🐶

Findings (5)

src/commonMain/kotlin/com/monta/slack/notifier/command/PublishSlackCommand.kt|7 col 1| Unused import
src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt|11 col 63| Unexpected spacing before ":"
src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt|11 col 64| Missing spacing after ":"
src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt|11 col 89| Unexpected spacing before ":"
src/commonMain/kotlin/com/monta/slack/notifier/model/GithubTrunkBasedPushContext.kt|10 col 2| Missing spacing before "{"

Filtered Findings (16)

src/commonMain/kotlin/com/monta/slack/notifier/SlackClient.kt|9 col 1| Wildcard import
src/commonMain/kotlin/com/monta/slack/notifier/SlackClient.kt|10 col 1| Wildcard import
src/commonMain/kotlin/com/monta/slack/notifier/SlackClient.kt|11 col 1| Wildcard import
src/commonMain/kotlin/com/monta/slack/notifier/SlackClient.kt|12 col 1| Wildcard import
src/commonMain/kotlin/com/monta/slack/notifier/SlackClient.kt|9 col 1| io.ktor.client.request.* is a wildcard import. Replace it with fully qualified imports.
src/commonMain/kotlin/com/monta/slack/notifier/SlackClient.kt|10 col 1| io.ktor.client.statement.* is a wildcard import. Replace it with fully qualified imports.
src/commonMain/kotlin/com/monta/slack/notifier/SlackClient.kt|11 col 1| io.ktor.http.* is a wildcard import. Replace it with fully qualified imports.
src/commonMain/kotlin/com/monta/slack/notifier/SlackClient.kt|12 col 1| io.ktor.utils.io.charsets.* is a wildcard import. Replace it with fully qualified imports.
src/commonMain/kotlin/com/monta/slack/notifier/util/HttpClient.kt|3 col 1| Wildcard import
src/commonMain/kotlin/com/monta/slack/notifier/util/HttpClient.kt|4 col 1| Wildcard import
src/commonMain/kotlin/com/monta/slack/notifier/util/HttpClient.kt|5 col 1| Wildcard import
src/commonMain/kotlin/com/monta/slack/notifier/util/HttpClient.kt|6 col 1| Wildcard import
src/commonMain/kotlin/com/monta/slack/notifier/util/HttpClient.kt|3 col 1| io.ktor.client.* is a wildcard import. Replace it with fully qualified imports.
src/commonMain/kotlin/com/monta/slack/notifier/util/HttpClient.kt|4 col 1| io.ktor.client.engine.curl.* is a wildcard import. Replace it with fully qualified imports.
src/commonMain/kotlin/com/monta/slack/notifier/util/HttpClient.kt|5 col 1| io.ktor.client.plugins.contentnegotiation.* is a wildcard import. Replace it with fully qualified imports.
src/commonMain/kotlin/com/monta/slack/notifier/util/HttpClient.kt|6 col 1| io.ktor.serialization.kotlinx.json.* is a wildcard import. Replace it with fully qualified imports.

Annotations

Check warning on line 7 in src/commonMain/kotlin/com/monta/slack/notifier/command/PublishSlackCommand.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/commonMain/kotlin/com/monta/slack/notifier/command/PublishSlackCommand.kt#L7 <detekt.NoUnusedImports>

Unused import
Raw output
/github/workspace/src/commonMain/kotlin/com/monta/slack/notifier/command/PublishSlackCommand.kt:7:1: warning: Unused import (detekt.NoUnusedImports)

Check warning on line 11 in src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt#L11 <detekt.SpacingAroundColon>

Unexpected spacing before ":"
Raw output
/github/workspace/src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt:11:63: warning: Unexpected spacing before ":" (detekt.SpacingAroundColon)

Check warning on line 11 in src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt#L11 <detekt.SpacingAroundColon>

Missing spacing after ":"
Raw output
/github/workspace/src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt:11:64: warning: Missing spacing after ":" (detekt.SpacingAroundColon)

Check warning on line 11 in src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt#L11 <detekt.SpacingAroundColon>

Unexpected spacing before ":"
Raw output
/github/workspace/src/commonMain/kotlin/com/monta/slack/notifier/util/TrunkUtils.kt:11:89: warning: Unexpected spacing before ":" (detekt.SpacingAroundColon)

Check warning on line 10 in src/commonMain/kotlin/com/monta/slack/notifier/model/GithubTrunkBasedPushContext.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/commonMain/kotlin/com/monta/slack/notifier/model/GithubTrunkBasedPushContext.kt#L10 <detekt.SpacingAroundCurly>

Missing spacing before "{"
Raw output
/github/workspace/src/commonMain/kotlin/com/monta/slack/notifier/model/GithubTrunkBasedPushContext.kt:10:2: warning: Missing spacing before "{" (detekt.SpacingAroundCurly)