seb05/10/2022, 8:39 AM
If I take out the
Execution failed for task ':app:detekt'. > Run failed with 1 invalid config property. - Property 'formatting' is misspelled or does not exist.
section in the config (which is only setting
, it works fine. Looking at the 1.20.0 release notes, there's a mention about something changing in how the formatting rules are configured, but there is no example, migration guide, nothing — only a link to a couple PRs with no documentation. I don't use the
plugin, so am I ok with just removing the corresponding section from the config? And how would it work if I actually wanted to use the plugin? I'm not super clear on this... do I need a separate config file? And if so, how do I associate it with the plugin?
rule was not doing much before given I don't have the plugin in the classpath in the first place 🙂 It was ok to just remove it.
gammax05/10/2022, 12:06 PM
block from your config file • Add the
plugin We updated how the config is composed, allowing plugin to contribute to the final configuration file. What was happening for your practically is that you had keys that were not recognized.
seb05/10/2022, 12:25 PM