Open
Conversation
- 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.
🦙 MegaLinter status: ❌ ERROR
See detailed report in MegaLinter reports |
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Descrição
Solves kotlin issues
Testes Realizados
Screenshots
Android
Screen_recording_20260405_204631.mp4
iOS
Checklist
Issues Relacionadas