Skip to content

Add hilt for dependency injection #1

Add hilt for dependency injection

Add hilt for dependency injection #1

Triggered via push May 20, 2024 12:04
Status Failure
Total duration 30s
Artifacts

ktlint.yml

on: push
Check Kotlin Code Format
21s
Check Kotlin Code Format
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check Kotlin Code Format: app/build.gradle.kts#L30
[ktlint] reported by reviewdog 🐶 Missing trailing comma before ")" Raw Output: app/build.gradle.kts:30:37: error: Missing trailing comma before ")" (standard:trailing-comma-on-call-site)
Check Kotlin Code Format: app/build.gradle.kts#L81
[ktlint] reported by reviewdog 🐶 File must end with a newline (\n) Raw Output: app/build.gradle.kts:81:1: error: File must end with a newline (\n) (standard:final-newline)
Check Kotlin Code Format: app/src/androidTest/java/dev/chungjungsoo/gptmobile/ExampleInstrumentedTest.kt#L3
[ktlint] reported by reviewdog 🐶 Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end Raw Output: app/src/androidTest/java/dev/chungjungsoo/gptmobile/ExampleInstrumentedTest.kt:3:1: error: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (standard:import-ordering)
Check Kotlin Code Format: app/src/androidTest/java/dev/chungjungsoo/gptmobile/ExampleInstrumentedTest.kt#L9
[ktlint] reported by reviewdog 🐶 Wildcard import Raw Output: app/src/androidTest/java/dev/chungjungsoo/gptmobile/ExampleInstrumentedTest.kt:9:1: error: Wildcard import (standard:no-wildcard-imports)
Check Kotlin Code Format: app/src/androidTest/java/dev/chungjungsoo/gptmobile/ExampleInstrumentedTest.kt#L24
[ktlint] reported by reviewdog 🐶 File must end with a newline (\n) Raw Output: app/src/androidTest/java/dev/chungjungsoo/gptmobile/ExampleInstrumentedTest.kt:24:1: error: File must end with a newline (\n) (standard:final-newline)
Check Kotlin Code Format: app/src/main/java/dev/chungjungsoo/gptmobile/MainActivity.kt#L25
[ktlint] reported by reviewdog 🐶 Missing trailing comma before ")" Raw Output: app/src/main/java/dev/chungjungsoo/gptmobile/MainActivity.kt:25:66: error: Missing trailing comma before ")" (standard:trailing-comma-on-call-site)
Check Kotlin Code Format: app/src/main/java/dev/chungjungsoo/gptmobile/MainActivity.kt#L34
[ktlint] reported by reviewdog 🐶 Function name should start with a lowercase letter (except factory methods) and use camel case Raw Output: app/src/main/java/dev/chungjungsoo/gptmobile/MainActivity.kt:34:5: error: Function name should start with a lowercase letter (except factory methods) and use camel case (standard:function-naming)
Check Kotlin Code Format: app/src/main/java/dev/chungjungsoo/gptmobile/MainActivity.kt#L34
[ktlint] reported by reviewdog 🐶 Newline expected after opening parenthesis Raw Output: app/src/main/java/dev/chungjungsoo/gptmobile/MainActivity.kt:34:14: error: Newline expected after opening parenthesis (standard:function-signature)
Check Kotlin Code Format: app/src/main/java/dev/chungjungsoo/gptmobile/MainActivity.kt#L34
[ktlint] reported by reviewdog 🐶 Parameter should start on a newline Raw Output: app/src/main/java/dev/chungjungsoo/gptmobile/MainActivity.kt:34:28: error: Parameter should start on a newline (standard:function-signature)
Check Kotlin Code Format
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835