I added `detektPlugins("io.gitlab.arturbosch.detek...
# detekt
f
I added
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.1")
for my project. How can I check if it is running correctly???
m
I normally create a warning intentionally and see if it is reported.
f
Yeahh I decrease the ident space for 2, but that warning is not reported.
m
Probably need to update your config file to enable the formatting rules
Copy code
formatting:
  active: true
f
I added but continues no running
It is so confuse. I added the entire content from https://github.com/detekt/detekt/blob/main/detekt-formatting/src/main/resources/config/config.yml for my config file the detetkt-formatting works fine. That was in documentation of 1.21.0 version https://github.com/detekt/detekt/blob/main/website/versioned_docs/version-1.21.0/rules/formatting.md but do not have in earlier versions.
Is it mandatory to do these steps???