I think I found a bug (or a missing feature, depen...
# detekt
r
I think I found a bug (or a missing feature, depending on how you want to call it 😉) - how is one able to exclude only certain rules for tests but not a whole rule-set? When I define the following:
Copy code
exclude-rule-sets:
exclude-rules:
- 'StringLiteralDuplication'
Then the default applies for
exclude-rule-sets
which is uggly because I did not want the default (same applies when I remove all exclude-rules and only add exclude-rule-sets) The workaround I use is:
Copy code
exclude-rule-sets:
- 'ignoreDefaultBehaviour'
Is there another way to achieve this?
m
And by default the
comments
ruleset is disabled/excluded?
r
exactly
m
Hm. I'd have to look into that a bit more in detail. But this might be a real issue. Feel free to open another issue for this one! Thanks for reporting all these issues, much appreciated!
r
I'll do
m
Thanks!
Sorry, even I am confused by failFast at times. Glad that the links already helped! 🙂
r
Thanks for the fast reply 🙂 Surely worth considering to rename it before 1.0.0 is stable
âž• 1