Hello there! I"ve updated detekt from `1.22.0` to ...
# detekt
g
Hello there! I"ve updated detekt from
1.22.0
to
1.23.6
and found that detekt fails due to some new formatting rules from
1.23.0
But in my configuration I'm using
buildUponDefaultConfig = false
and I expect that detekt will ignore default rules and will use rules only from my local config. And I don't have these new rules in it. For example
./gradlew detekt
fails cos of
CommentWrapping
and I don't have this rule in my local config at all. Am I missing something? Probably I'm wrong about how
buildUponDefaultConfig = false
works?
b
What's the error message?
g
There's no error, just some code smells, overall debt and lots of files modifed beacuse of autoCorrect after `./gradlew detekt`when i launch using
detekt 1.23.6
. If I'm doing
./gradlew detekt
using
detekt 1.22.0
it runs successfully without any code smells and 0 files modified
b
The support for
buildUponDefaultConfig = false
is low. And we are thinking about removing it. So you can open an Issue with this so we can talk about it. The reasoning behind why to use
buildUponDefaultConfig = false
would be great to help us take a better decission about removing it or not and ensure that it works properly.