Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Detekt Configuration/Version #16892

Closed
9 of 11 tasks
ParaskP7 opened this issue Jul 12, 2022 · 2 comments
Closed
9 of 11 tasks

Update Detekt Configuration/Version #16892

ParaskP7 opened this issue Jul 12, 2022 · 2 comments

Comments

@ParaskP7
Copy link
Contributor

ParaskP7 commented Jul 12, 2022

This is the parent issue for the Update Detekt Configuration/Version project.

Platform Request: pdnsEh-qb-p2
Project Thread: N/A
Relates To:

The Update Detekt Version project will first focus on changing Detekt's detekt.yml configuration so that it is being build upon the default config (buildUponDefaultConfig = true, just like it is already done on WCAndroid) and then the current 1.15.0 version will be updated to the latest stable (currently the 1.20.0).

Tasks


In addition to the above main goals, we might also consider:

  1. Enabling Detekt for all modules (currently Detekt is only running for the WordPress main module and none of the libs modules).
  2. Resolving/Suppressing all Detekt baseline.xml related warnings (currently about 508).
  3. Start using detektMain/Test task in favor of detekt as it is nowadays the recommend way to configure Detekt (see Using Type Resolution and more specifically here and here). The plain detekt is not running with type resolution enabled, while the detektMain/Test task does (for more info watch this nice Detekt related talk here, go to 30:30, up until 34:00).

Stretch Goals:

@ParaskP7 ParaskP7 added this to the Future milestone Jul 12, 2022
@ParaskP7 ParaskP7 self-assigned this Jul 12, 2022
@peril-wordpress-mobile
Copy link

Fails
🚫

Please add a type label to this issue. e.g. '[Type] Enhancement'

Generated by 🚫 dangerJS

@ParaskP7
Copy link
Contributor Author

ParaskP7 commented Aug 5, 2022

I am now closing this parent issue as the primary goal has been achieved already, and, I am also moving these 2 below stretch goals tasks for later by creating separate issues for each, but still connecting them to this parent issue:

@ParaskP7 ParaskP7 closed this as completed Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant