Detekt: deprecation message is printed even when warningThreshold and failThreshold are not used

Created on 16 Mar 2018  路  3Comments  路  Source: detekt/detekt

Version: 1.0.0.RC6-4

In my config I'm using failFast: true and do not specify build section at all. Nevertheless, I see the following message in console:

[Deprecation] - 'warningThreshold' and 'failThreshold' properties are deprecated. Please use the new 'maxIssues' config property.

Is that intended?

cli documentation improvement

Most helpful comment

Are there any reason to keep deprecated properties in default configuration?

All 3 comments

That's probably working as intended since the default configuration is used in conjunction with failFast and there the warningThreshold and failThreshold are defined.

Are there any reason to keep deprecated properties in default configuration?

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vanniktech picture vanniktech  路  3Comments

serj-lotutovici picture serj-lotutovici  路  3Comments

danikula picture danikula  路  4Comments

pakoito picture pakoito  路  4Comments

IlyaPavlovskii picture IlyaPavlovskii  路  3Comments