Skip to content
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

Detekt IDEA plugin started to mark everything as error instead of warning #509

Open
Mr3zee opened this issue Apr 1, 2024 · 1 comment
Open

Comments

@Mr3zee
Copy link

Mr3zee commented Apr 1, 2024

Expected Behavior
Issues are treated as warnings in the editor, unless otherwise configured in the settings

Observed Behavior
All issues are marked as errors in the editor, disregarding the settings

Your Environment
Version of detekt IDEA plugin used: 2.4.0
Version of IDEA used: 2023.3.6
Version of detekt used: 1.23.4
Version of detekt Gradle Plugin used: 1.23.4
Version of Gradle used (if applicable): 8.3
Operating System and version: MacOS 14.4 (23E214)

@Mr3zee Mr3zee changed the title Detekt IDEA plugin started to mark everying as error instead of warning Detekt IDEA plugin started to mark everything as error instead of warning Apr 2, 2024
@arturbosch
Copy link
Member

Hi,
are you saying that in 2.3.0 everything worked as expected as warning and without changing the settings issues are now marked as errors ?

Please check if you have accidentally used the Treat detekt findings as errors setting.

Also with #505 the plugin now respects severity overrides from the yaml config. Do you have any of severity: error options in your config ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants