Skip to content

SpeziAccount & SpeziFirebase #688

SpeziAccount & SpeziFirebase

SpeziAccount & SpeziFirebase #688

GitHub Actions / detekt failed Nov 26, 2024 in 1s

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

Check warning on line 45 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 46 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 125 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 46 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupForm.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 3 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/value/keys/GenderIdentityKey.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 3 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/value/keys/GenderIdentityKey.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 3 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 4 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 5 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 7 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 8 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 9 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 10 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 3 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 4 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 5 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 7 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 8 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 9 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 10 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/entry/DateOfBirthPicker.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 3 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 19 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 35 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 1 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt

See this annotation in the file changed.

@github-actions 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)

Check warning on line 36 in modules/account/src/main/kotlin/edu/stanford/spezi/module/account/account/views/signup/SignupViewModel.kt

See this annotation in the file changed.

@github-actions 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)