SpeziAccount & SpeziFirebase #688
reviewdog [detekt] report
reported by reviewdog 🐶
Findings (26)
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt|45 col 44| This empty block of code can be removed.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt|46 col 1| First line in a method block should not be empty
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt|125 col 1| Needless blank line(s)
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt|46 col 1| Unexpected blank line(s) before "}"
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/value/keys/GenderIdentityKey.kt|3 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/value/keys/GenderIdentityKey.kt|3 col 1| The import 'androidx.compose.material3.Text' is unused.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|3 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|4 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|5 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|7 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|8 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|9 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|10 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|3 col 1| The import 'androidx.compose.foundation.layout.Arrangement' is unused.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|4 col 1| The import 'androidx.compose.foundation.layout.Row' is unused.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|5 col 1| The import 'androidx.compose.foundation.layout.fillMaxWidth' is unused.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|7 col 1| The import 'androidx.compose.ui.Modifier' is unused.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|8 col 1| The import 'edu.stanford.spezi.core.design.component.ListRow' is unused.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|9 col 1| The import 'edu.stanford.spezi.module.account.register.DatePickerDialog' is unused.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt|10 col 1| The import 'java.time.LocalDate' is unused.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt|3 col 1| Unused import
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt|19 col 64| Missing trailing comma before ")"
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt|35 col 1| Unexpected blank line(s) before "}"
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt|1 col 1| File must end with a newline (\n)
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt|36 col 2| The file /github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt is not ending with a new line.
modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt|3 col 1| The import 'androidx.compose.runtime.mutableStateOf' is unused.
Filtered Findings (0)
Annotations
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt#L45 <detekt.EmptyIfBlock>
This empty block of code can be removed.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt:45:44: warning: This empty block of code can be removed. (detekt.EmptyIfBlock)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt#L46 <detekt.NoEmptyFirstLineInMethodBlock>
First line in a method block should not be empty
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt:46:1: warning: First line in a method block should not be empty (detekt.NoEmptyFirstLineInMethodBlock)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt#L125 <detekt.NoConsecutiveBlankLines>
Needless blank line(s)
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt:125:1: warning: Needless blank line(s) (detekt.NoConsecutiveBlankLines)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt#L46 <detekt.NoBlankLineBeforeRbrace>
Unexpected blank line(s) before "}"
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt:46:1: warning: Unexpected blank line(s) before "}" (detekt.NoBlankLineBeforeRbrace)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/value/keys/GenderIdentityKey.kt#L3 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/value/keys/GenderIdentityKey.kt:3:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/value/keys/GenderIdentityKey.kt#L3 <detekt.UnusedImports>
The import 'androidx.compose.material3.Text' is unused.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/value/keys/GenderIdentityKey.kt:3:1: warning: The import 'androidx.compose.material3.Text' is unused. (detekt.UnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L3 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:3:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L4 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:4:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L5 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:5:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L7 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:7:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L8 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:8:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L9 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:9:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L10 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:10:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L3 <detekt.UnusedImports>
The import 'androidx.compose.foundation.layout.Arrangement' is unused.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:3:1: warning: The import 'androidx.compose.foundation.layout.Arrangement' is unused. (detekt.UnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L4 <detekt.UnusedImports>
The import 'androidx.compose.foundation.layout.Row' is unused.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:4:1: warning: The import 'androidx.compose.foundation.layout.Row' is unused. (detekt.UnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L5 <detekt.UnusedImports>
The import 'androidx.compose.foundation.layout.fillMaxWidth' is unused.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:5:1: warning: The import 'androidx.compose.foundation.layout.fillMaxWidth' is unused. (detekt.UnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L7 <detekt.UnusedImports>
The import 'androidx.compose.ui.Modifier' is unused.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:7:1: warning: The import 'androidx.compose.ui.Modifier' is unused. (detekt.UnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L8 <detekt.UnusedImports>
The import 'edu.stanford.spezi.core.design.component.ListRow' is unused.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:8:1: warning: The import 'edu.stanford.spezi.core.design.component.ListRow' is unused. (detekt.UnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L9 <detekt.UnusedImports>
The import 'edu.stanford.spezi.module.account.register.DatePickerDialog' is unused.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:9:1: warning: The import 'edu.stanford.spezi.module.account.register.DatePickerDialog' is unused. (detekt.UnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt#L10 <detekt.UnusedImports>
The import 'java.time.LocalDate' is unused.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt:10:1: warning: The import 'java.time.LocalDate' is unused. (detekt.UnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt#L3 <detekt.NoUnusedImports>
Unused import
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt:3:1: warning: Unused import (detekt.NoUnusedImports)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt#L19 <detekt.TrailingCommaOnDeclarationSite>
Missing trailing comma before ")"
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt:19:64: warning: Missing trailing comma before ")" (detekt.TrailingCommaOnDeclarationSite)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt#L35 <detekt.NoBlankLineBeforeRbrace>
Unexpected blank line(s) before "}"
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt:35:1: warning: Unexpected blank line(s) before "}" (detekt.NoBlankLineBeforeRbrace)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt#L1 <detekt.FinalNewline>
File must end with a newline (\n)
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt:1:1: warning: File must end with a newline (\n) (detekt.FinalNewline)
github-actions / detekt
[detekt] modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt#L36 <detekt.NewLineAtEndOfFile>
The file /github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt is not ending with a new line.
Raw output
/github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt:36:2: warning: The file /github/workspace/modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt is not ending with a new line. (detekt.NewLineAtEndOfFile)