-
-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Treat config property deprecations as errors #2545
Comments
and issue title says
I am confused whether to treat them as errors in my code or not. I encountered an error Is there an error in my code, or should I just replace the deprecated property |
Hi @NullByte08 ,
There is no error. We just deprecated detekt/detekt-core/src/main/resources/default-detekt-config.yml Lines 92 to 98 in fb1144e
|
@arturbosch Ok I am removing |
Expected Behavior
Implement an option to fail the build if any deprecated properties are used:
Current Behavior
New behavior treats them as warnings which do not fail the build.
Context
Old behavior treated them as errors which was considered a bug due to updating the detekt version should not unexpectedly break the build - #2523
The text was updated successfully, but these errors were encountered: