-
Notifications
You must be signed in to change notification settings - Fork 739
Conversation
…, fixed some parameters order and minor errors
You can add Detekt baseline to fix the Detekt errors caused by the legacy code |
Okay man, now we just have to fix this Detekt shit. Well... I really don't know what you mean as I'm not familiar with these plugins and checks. I'm getting these errors and figured out I need to remove some empty lines, but I can't get rid of modifier parameters as I get problems in Android Studio saying "this function needs it". I need your help and as you can see we are very close to making it a thing before 2024 :D
|
@nvllz does the Detekt baseline script work for you? If you generate a baseline Detekt won't complain. Sorry, I can't help much - I no longer work on the project and just help folks merge their PRs. But in order to merge them we need CI ✅ Try If the script isn't working for some reason, it's way easier just fixing these consecutive lines.
to run ut locally and fix errors fast and easy |
The first command executes without any message, and the second throws me this error:
I'm so confused. I can build the app without any errors and this detekt thing shows some problem messages that I can't understand. Like: |
Yes, you can skip it (in fact you should) and the way to do that is to generate Detekt baseline. Sorry, for the bad experience but I can't merge your PR with broken CI because no one after you won't be able to merge. CI must be green ✅ Ways to fix:
For both of this the free ChatGPT should be able to help |
Did you try: gradlew detektBaseline |
Okay, I somehow made it all green manually. Sorry for my anger, but I was so confused with these bugs. It's kind of black magic for me, but I wanted this improvement so much. I hope it's okay. Now please take your time to review the changes, merge this PR and consider a new release, as I can see many improvements and fixes since the last update. I hope you at least plan on releasing new versions from time to time. Thanks, Iliyan! |
No worries, @nvllz! Thank you for your patience :) Merged 🚀 |
About releasing, the community need to test everything really really well cuz if we release sth broken, I won't have time to fix it |
Idk... made another attempt at this thing. If this one doesn't work, I'll prooly give up on it, as making it made me refactor a lot of other things to not get weird warnings. I hope it passes these tests so we can have these lines look like they should.
#2821