You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
In addition to the above main goals, we might also consider:
Enabling Detekt for all modules (currently Detekt is only running for the WordPress main module and none of the libs modules).
Resolving/Suppressing all Detekt baseline.xml related warnings (currently about 508).
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).
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:
This is the parent issue for the
Update Detekt Configuration/Version
project.Platform Request: pdnsEh-qb-p2
Project Thread: N/A
Relates To:
1.19.0
#16819 (see review comment and the discussion surrounding that)The
Update Detekt Version
project will first focus on changing Detekt'sdetekt.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 current1.15.0
version will be updated to the latest stable (currently the 1.20.0).Tasks
1.19.0
update below as there were no changes this time)1.21.0
update below as there were few changes this time)In addition to the above main goals, we might also consider:
WordPress
main module and none of thelibs
modules).baseline.xml
related warnings (currently about508
).detektMain/Test
task in favor ofdetekt
as it is nowadays the recommend way to configure Detekt (see Using Type Resolution and more specifically here and here). The plaindetekt
is not running with type resolution enabled, while thedetektMain/Test
task does (for more info watch this nice Detekt related talk here, go to30:30
, up until34:00
).Stretch Goals:
The text was updated successfully, but these errors were encountered: