Thx I was able to make it work.
It looks like my default detekt config didn't have any rules from the above
detekt-formating
rule set. I added this manually and it had worked.
@gammax is there a detekt check to make sure that custom config file contains all of the rules? (kid of detekt config meta check)
As you see it is easy to miss
detekt-formating
rule set ot upgrade detekt without updating config files (thus config for some rules will stay kind of hidden)
igor.wojda
09/23/2022, 11:39 AM
BTW There may be also potential improvement for the documentation as it was not obvious how to enable these rule with custom config (I would expect to have some info here https://detekt.dev/docs/rules/formatting)
s
schalkms
09/24/2022, 9:30 AM
Thanks for the hint! May I ask you to submit your ideas via GitHub issues?