Skip to content

Solves Kotlin Issues#74

Merged
gabrielbmoro merged 7 commits intomasterfrom
solve/lint-issues
Apr 11, 2026
Merged

Solves Kotlin Issues#74
gabrielbmoro merged 7 commits intomasterfrom
solve/lint-issues

Conversation

@gabrielbmoro
Copy link
Copy Markdown

@gabrielbmoro gabrielbmoro commented Apr 5, 2026

Descrição

Solves kotlin issues

Testes Realizados

Screenshots

Android

Screen_recording_20260405_204631.mp4

iOS

Simulator Screenshot - iPhone 16e - 2026-04-05 at 22 24 18

Checklist

  • Os testes foram executados e passaram com sucesso.
  • As alterações de código seguem as diretrizes de estilo do projeto.
  • Foram adicionados testes, se aplicável.
  • Se inscreveu no canal?😛

Issues Relacionadas

- Create `scripts/linter/linter.sh` to facilitate running Detekt CLI locally.
- Enable `PrintStackTrace`, `PackageNaming`, `FunctionOnlyReturningConstant`, and `NewLineAtEndOfFile` rules in `detekt.yml`.
- Disable `MagicNumber` rule in `detekt.yml`.
- Remove the explicit formatting JAR path from `KOTLIN_DETEKT_ARGUMENTS` in `.mega-linter.yml`.
- Update `versionName` to 1.4 in build configuration.
- Refactor `SharedHandlerPlatform` and `SyncWorker` on Android to use `runCatching` for safer execution and better error handling.
- Rename `dbFileName` to `DB_FILE_NAME` to follow constant naming conventions in `core-local-storage`.
- Remove unused `String.empty()` extension.
- Clean up redundant imports and improve code formatting across multiple modules.
- Add `@Suppress` annotations for `LongMethod` and `LongParameterList` in UI components.
- Fix broken indentation and missing trailing newlines in several Kotlin files.
- Disable `InvalidPackageDeclaration` and `PackageNaming` rules in detekt.
- Remove `ConstructorParameterNaming` and `MatchingDeclarationName` rules from detekt configuration.
- Suppress `FunctionNaming` warnings for `dokkaPlugin` and `MainViewController`.
- Apply general code cleanup by removing trailing white spaces and fixing indentation across multiple modules.
- Explicitly import layout components in `ImagePickerCameraGallery.kt`.
- Refactor `AppModule.kt` for better readability of module declarations.
- Simplify `DetailStreamsScreen.kt` by removing an unused parameter.
- Disable `InvalidPackageDeclaration` and `PackageNaming` rules in detekt.
- Remove `ConstructorParameterNaming` and `MatchingDeclarationName` rules from detekt configuration.
- Suppress `FunctionNaming` warnings for `dokkaPlugin` and `MainViewController`.
- Apply general code cleanup by removing trailing white spaces and fixing indentation across multiple modules.
- Explicitly import layout components in `ImagePickerCameraGallery.kt`.
- Refactor `AppModule.kt` for better readability of module declarations.
- Simplify `DetailStreamsScreen.kt` by removing an unused parameter.
@gabrielbmoro gabrielbmoro requested a review from a team as a code owner April 5, 2026 23:34
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 5, 2026

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ KOTLIN detekt yes no no 4.94s
❌ MARKDOWN markdownlint 6 84 0 0.81s
⚠️ YAML prettier 6 1 3 0.76s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

- Remove `onNavigateSearchScreen` parameter and its call in `DetailStreamNavigation`.
- Clean up unused `Routes` import in `DetailStreamNavigation`.
- Suppress `MaxLineLength` lint warning in `Config.kt`.
- Format `bearear_without_environment` into a single line string.
@gabrielbmoro gabrielbmoro merged commit 492e02c into master Apr 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solve kotlin lint issues

2 participants